-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.32 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.32 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
46
47
48
49
50
51
{
"name": "workout-cli",
"version": "0.5.0",
"description": "Workout CLI",
"type": "module",
"bin": {
"workout": "./dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"dev": "bun --watch src/index.ts",
"build": "rm -rf ./dist && bun run build:ts && bun run build:bin && bun link",
"build:ts": "tsc && chmod +x dist/index.js",
"build:bin": "bun build src/index.ts --compile --outfile dist/workout --target=bun",
"test": "vitest run",
"test:watch": "vitest",
"lint": "oxlint --type-aware --tsconfig=tsconfig.json src/",
"format": "oxfmt src/ test/",
"format:check": "oxfmt --check src/ test/",
"check": "bun run lint && bun run format:check && bun x tsc --noEmit",
"validate": "bun run check && bun run test && bun run build:ts",
"prepare": "husky"
},
"engines": {
"bun": ">=1.3.5"
},
"dependencies": {
"commander": "^11.1.0",
"zod": "^4.3.4"
},
"devDependencies": {
"@types/bun": "^1.3.5",
"@types/node": "^22.8.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"oxfmt": "^0.21.0",
"oxlint": "^1.36.0",
"oxlint-tsgolint": "^0.11.1",
"typescript": "^5.6.3",
"vitest": "^4.0.18"
},
"lint-staged": {
"*.ts": [
"oxlint --type-aware --tsconfig=tsconfig.json",
"oxfmt"
]
},
"license": "MIT"
}