Skip to content

Commit 511e01b

Browse files
committed
chore: wip
1 parent db46ad4 commit 511e01b

File tree

1 file changed

+20
-45
lines changed

1 file changed

+20
-45
lines changed

packages/bun-plugin/package.json

Lines changed: 20 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,78 +2,53 @@
22
"name": "bun-plugin-dtsx",
33
"type": "module",
44
"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]>",
87
"license": "MIT",
9-
"homepage": "https://github.com/stacksjs/dtsx#readme",
8+
"homepage": "https://github.com/stacksjs/dtsx/tree/main/packages/bun-plugin#readme",
109
"repository": {
1110
"type": "git",
1211
"url": "git+https://github.com/stacksjs/dtsx.git"
1312
},
1413
"bugs": {
15-
"url": "https://github.com/stacksjs/dtsx/issues"
14+
"url": "https://github.com/stacksjs/bun-plugin-dtsx/issues"
1615
},
1716
"keywords": [
1817
"dts",
18+
"dtsx",
19+
"emit",
1920
"generation",
20-
"isolated declarations",
21-
"development",
21+
"typescript",
22+
"types",
23+
"auto",
24+
"stacks",
2225
"bun",
2326
"plugin",
24-
"stacks",
25-
"typescript",
26-
"javascript"
27+
"package"
2728
],
2829
"exports": {
2930
".": {
30-
"import": "./dist/src/index.js"
31+
"types": "./dist/index.d.ts",
32+
"import": "./dist/index.js"
3133
},
3234
"./*": {
3335
"import": "./dist/*"
3436
}
3537
},
36-
"module": "./dist/src/index.js",
38+
"module": "./dist/index.js",
3739
"types": "./dist/index.d.ts",
38-
"bin": {
39-
"dtsx": "./dist/bin/cli.js"
40-
},
4140
"files": [
41+
"LICENSE.md",
42+
"README.md",
4243
"dist"
4344
],
4445
"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",
5948
"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"
6850
},
69-
"devDependencies": {
51+
"dependencies": {
7052
"@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-
}
7853
}
7954
}

0 commit comments

Comments
 (0)