-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "bun-git-hooks",
"type": "module",
"version": "0.1.0",
"description": "A modern, zero dependency tool for managing git hooks in Bun projects.",
"author": "Chris Breuer <chris@stacksjs.org>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/bun-git-hooks#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/bun-git-hooks.git"
},
"bugs": {
"url": "https://github.com/stacksjs/bun-git-hooks/issues"
},
"keywords": [
"bun-git-hooks",
"pre-commit",
"pre-push",
"git",
"hook",
"hooks",
"bun",
"simple-git-hooks",
"typescript",
"cli",
"library"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"git-hooks": "./dist/bin/cli.js",
"bun-git-hooks": "./dist/bin/cli.js"
},
"files": ["README.md", "dist"],
"scripts": {
"build": "bun build.ts && bun run compile",
"compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/git-hooks",
"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",
"compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/git-hooks-linux-x64",
"compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/git-hooks-linux-arm64",
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/git-hooks-windows-x64.exe",
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/git-hooks-darwin-x64",
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/git-hooks-darwin-arm64",
"postinstall": "bun ./scripts/postinstall.ts",
"uninstall": "bun ./scripts/uninstall.ts",
"lint": "bunx --bun eslint .",
"lint:fix": "bunx --bun eslint . --fix",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"changelog": "bunx changelogen --output CHANGELOG.md",
"prepublishOnly": "bun --bun run build && bun run compile:all",
"release": "bun run changelog && bunx bumpp package.json --all",
"test": "bun test",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun --bun tsc --noEmit"
},
"devDependencies": {
"@iconify-json/carbon": "^1.2.7",
"@shikijs/vitepress-twoslash": "^2.3.2",
"@stacksjs/eslint-config": "^4.2.1-beta.1",
"@types/bun": "^1.2.2",
"@types/node": "^22.13.4",
"@vite-pwa/vitepress": "^0.5.3",
"bumpp": "^10.0.3",
"bun-plugin-dtsx": "^0.21.9",
"bunfig": "^0.7.0",
"cac": "^6.7.14",
"changelogen": "^0.5.7",
"lint-staged": "^15.4.3",
"typescript": "^5.7.3",
"unocss": "^65.4.3",
"unplugin-icons": "^22.0.0",
"unplugin-vue-components": "^28.0.0",
"vite-plugin-pwa": "^0.21.1",
"vitepress": "^1.6.3"
},
"overrides": {
"unconfig": "0.3.10"
},
"lint-staged": {
"*.{js,ts}": "bunx --bun eslint . --fix"
}
}