|
2 | 2 | "name": "bun-plugin-dtsx",
|
3 | 3 | "type": "module",
|
4 | 4 | "version": "0.9.3",
|
5 |
| - "private": true, |
6 |
| - "description": "A modern, fast .d.ts generation tool, powered by Bun.", |
7 |
| - "author": "Chris Breuer <[email protected]>", |
| 5 | + "description": "A Bun Bundler plugin that auto generates your DTS types extremely fast.", |
| 6 | + "author": "Chris Breuer <[email protected]>", |
8 | 7 | "license": "MIT",
|
9 |
| - "homepage": "https://github.com/stacksjs/dtsx#readme", |
| 8 | + "homepage": "https://github.com/stacksjs/dtsx/tree/main/packages/bun-plugin#readme", |
10 | 9 | "repository": {
|
11 | 10 | "type": "git",
|
12 | 11 | "url": "git+https://github.com/stacksjs/dtsx.git"
|
13 | 12 | },
|
14 | 13 | "bugs": {
|
15 |
| - "url": "https://github.com/stacksjs/dtsx/issues" |
| 14 | + "url": "https://github.com/stacksjs/bun-plugin-dtsx/issues" |
16 | 15 | },
|
17 | 16 | "keywords": [
|
18 | 17 | "dts",
|
| 18 | + "dtsx", |
| 19 | + "emit", |
19 | 20 | "generation",
|
20 |
| - "isolated declarations", |
21 |
| - "development", |
| 21 | + "typescript", |
| 22 | + "types", |
| 23 | + "auto", |
| 24 | + "stacks", |
22 | 25 | "bun",
|
23 | 26 | "plugin",
|
24 |
| - "stacks", |
25 |
| - "typescript", |
26 |
| - "javascript" |
| 27 | + "package" |
27 | 28 | ],
|
28 | 29 | "exports": {
|
29 | 30 | ".": {
|
30 |
| - "import": "./dist/src/index.js" |
| 31 | + "types": "./dist/index.d.ts", |
| 32 | + "import": "./dist/index.js" |
31 | 33 | },
|
32 | 34 | "./*": {
|
33 | 35 | "import": "./dist/*"
|
34 | 36 | }
|
35 | 37 | },
|
36 |
| - "module": "./dist/src/index.js", |
| 38 | + "module": "./dist/index.js", |
37 | 39 | "types": "./dist/index.d.ts",
|
38 |
| - "bin": { |
39 |
| - "dtsx": "./dist/bin/cli.js" |
40 |
| - }, |
41 | 40 | "files": [
|
| 41 | + "LICENSE.md", |
| 42 | + "README.md", |
42 | 43 | "dist"
|
43 | 44 | ],
|
44 | 45 | "scripts": {
|
45 |
| - "build": "bun build.ts && bun run compile", |
46 |
| - "compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/dtsx", |
47 |
| - "compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64", |
48 |
| - "compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/dtsx-linux-x64", |
49 |
| - "compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/dtsx-linux-arm64", |
50 |
| - "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/dtsx-windows-x64.exe", |
51 |
| - "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/dtsx-darwin-x64", |
52 |
| - "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/dtsx-darwin-arm64", |
53 |
| - "lint": "bunx --bun eslint .", |
54 |
| - "lint:fix": "bunx --bun eslint . --fix", |
55 |
| - "fresh": "bunx rimraf node_modules/ bun.lock && bun i", |
56 |
| - "changelog": "bunx changelogen --output CHANGELOG.md", |
57 |
| - "prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip", |
58 |
| - "release": "bun run changelog && bunx bumpp package.json --all", |
| 46 | + "build": "bun build.ts", |
| 47 | + "prepublishOnly": "bun run build", |
59 | 48 | "test": "bun test",
|
60 |
| - "typecheck": "bunx tsc --noEmit", |
61 |
| - "zip": "bun run zip:all", |
62 |
| - "zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64", |
63 |
| - "zip:linux-x64": "zip -j bin/dtsx-linux-x64.zip bin/dtsx-linux-x64", |
64 |
| - "zip:linux-arm64": "zip -j bin/dtsx-linux-arm64.zip bin/dtsx-linux-arm64", |
65 |
| - "zip:windows-x64": "zip -j bin/dtsx-windows-x64.zip bin/dtsx-windows-x64.exe", |
66 |
| - "zip:darwin-x64": "zip -j bin/dtsx-darwin-x64.zip bin/dtsx-darwin-x64", |
67 |
| - "zip:darwin-arm64": "zip -j bin/dtsx-darwin-arm64.zip bin/dtsx-darwin-arm64" |
| 49 | + "typecheck": "bun tsc --noEmit" |
68 | 50 | },
|
69 |
| - "devDependencies": { |
| 51 | + "dependencies": { |
70 | 52 | "@stacksjs/dtsx": "workspace:*"
|
71 |
| - }, |
72 |
| - "git-hooks": { |
73 |
| - "pre-commit": { |
74 |
| - "staged-lint": { |
75 |
| - "*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint . --fix" |
76 |
| - } |
77 |
| - } |
78 | 53 | }
|
79 | 54 | }
|
0 commit comments