-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.31 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.31 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
{
"name": "vite-plus-monorepo",
"private": true,
"packageManager": "pnpm@10.17.0",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"type": "module",
"scripts": {
"bootstrap-cli": "pnpm --filter=@voidzero-dev/vite-plus build && pnpm --filter=@voidzero-dev/global build && pnpm copy-bindings && pnpm install-global-cli",
"bootstrap-cli:ci": "pnpm --filter=@voidzero-dev/global build && pnpm install-global-cli",
"copy-bindings": "cp -r ./packages/cli/binding/*.node ./packages/cli/dist && cp -r ./packages/cli/binding/*.node ./packages/global/dist",
"install-global-cli": "npm install -g ./packages/global",
"typecheck": "tsc -b tsconfig.json",
"lint": "vite lint && vite run typecheck",
"test": "vite test && pnpm -r snap-test",
"prepare": "husky"
},
"devDependencies": {
"@oxc-node/cli": "catalog:",
"@oxc-node/core": "catalog:",
"@types/node": "catalog:",
"@voidzero-dev/vite-plus": "workspace:*",
"husky": "^9.1.7",
"lint-staged": "^16.1.6",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"lint-staged": {
"*.@(js|ts|tsx|yml|yaml|md|json|html|toml)": [
"dprint fmt --staged"
],
"*.@(js|ts|tsx)": [
"oxlint -- --fix"
],
"*.rs": [
"cargo fmt --"
]
}
}