-
-
Notifications
You must be signed in to change notification settings - Fork 273
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.61 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 1.61 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
52
53
{
"name": "rsbuild-monorepo",
"private": true,
"workspaces": [
"packages/*",
"scripts/*"
],
"type": "module",
"scripts": {
"build": "pnpm --workspace-concurrency=10 --filter \"./packages/*\" --filter \"./scripts/*\" run build",
"check-spell": "pnpx cspell && heading-case",
"doc": "cd website && node --run dev",
"e2e": "cd ./e2e && pnpm e2e",
"format": "oxfmt . && heading-case --write",
"format:check": "oxfmt . --check",
"lint": "rslint --type-check",
"prebundle": "pnpm --parallel --filter \"./packages/*\" run prebundle",
"prepare": "simple-git-hooks && node --run prebundle",
"sort-package-json": "pnpx sort-package-json \"./package.json\" \"packages/*/package.json\"",
"test": "rstest",
"test:watch": "rstest watch"
},
"devDependencies": {
"@rslint/core": "catalog:",
"@rstest/adapter-rslib": "catalog:",
"@rstest/core": "catalog:",
"@scripts/config": "workspace:*",
"@scripts/test-helper": "workspace:*",
"@types/node": "catalog:",
"cross-env": "catalog:",
"cspell-ban-words": "catalog:",
"heading-case": "catalog:",
"nano-staged": "catalog:",
"oxfmt": "catalog:",
"simple-git-hooks": "catalog:",
"typescript": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged"
},
"nano-staged": {
"*.{md,mdx,json,css,less,scss}": "oxfmt --no-error-on-unmatched-pattern",
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"rslint --type-check",
"oxfmt --no-error-on-unmatched-pattern"
]
},
"engines": {
"node": ">=22.18.0",
"pnpm": ">=11.0.0"
},
"packageManager": "pnpm@11.13.0"
}