-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.63 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.63 KB
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
{
"name": "treefrog",
"private": true,
"bin": {
"treefrog": "src/index.ts"
},
"type": "module",
"module": "src/index.ts",
"scripts": {
"dev": "bun run src/index.ts",
"build": "bun build --compile --minify --sourcemap src/index.ts --outfile treefrog",
"build:all": "bun run build:macos && bun run build:linux && bun run build:windows",
"build:macos": "bun build --compile --target=bun-darwin-arm64 --minify --sourcemap src/index.ts --outfile dist/treefrog-macos-arm64 && bun build --compile --target=bun-darwin-x64 --minify --sourcemap src/index.ts --outfile dist/treefrog-macos-x64",
"build:linux": "bun build --compile --target=bun-linux-x64 --minify --sourcemap src/index.ts --outfile dist/treefrog-linux-x64 && bun build --compile --target=bun-linux-arm64 --minify --sourcemap src/index.ts --outfile dist/treefrog-linux-arm64",
"build:windows": "bun build --compile --target=bun-windows-x64 --minify --sourcemap src/index.ts --outfile dist/treefrog-windows-x64",
"clean": "rm -rf treefrog dist *.bun-build",
"type": "tsgo --noEmit",
"lint": "oxlint",
"fmt": "oxfmt --write .",
"test": "bun test --concurrent",
"test:serial": "bun test",
"prepare": "husky"
},
"dependencies": {
"@bomb.sh/tab": "^0.0.13",
"commander": "^14.0.0"
},
"devDependencies": {
"@types/bun": "latest",
"@typescript/native-preview": "^7.0.0-dev.20260209.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"oxfmt": "^0.28.0",
"oxlint": "^1.43.0"
},
"peerDependencies": {
"typescript": "^5"
},
"lint-staged": {
"*.{ts,tsx}": [
"oxlint",
"oxfmt --write"
]
}
}