-
Notifications
You must be signed in to change notification settings - Fork 139
/
package.json
62 lines (62 loc) · 1.96 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
{
"name": "rsbuild-monorepo",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"packages/compat/*",
"scripts/*"
]
},
"scripts": {
"build": "cross-env NX_DAEMON=false nx run-many -t build --exclude @examples/* @e2e/* rsbuild-* --parallel=10",
"build:doc": "cd website && pnpm run build",
"change": "changeset",
"changeset": "changeset",
"check-dependency-version": "npx check-dependency-version-consistency .",
"check-spell": "npx cspell",
"dev:doc": "cd website && pnpm run dev",
"e2e": "cd ./e2e && pnpm test",
"e2e:rspack": "cd ./e2e && pnpm test:rspack",
"e2e:webpack": "cd ./e2e && pnpm test:webpack",
"format": "prettier --write .",
"lint": "biome check . --diagnostic-level=warn && pnpm run check-spell",
"prebundle": "nx run-many -t prebundle",
"prepare": "pnpm run build && simple-git-hooks",
"sort-package-json": "npx sort-package-json \"./package.json\" \"packages/*/package.json\" \"packages/compat/*/package.json\"",
"test": "pnpm run ut",
"ut": "vitest run",
"ut:watch": "vitest"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
},
"nano-staged": {
"*.{md,mdx,json,css,less,scss}": "prettier --write",
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"biome check --write --formatter-enabled=false --linter-enabled=false --no-errors-on-unmatched",
"prettier --write"
]
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.9",
"@modern-js/module-tools": "^2.61.0",
"@rsbuild/config": "workspace:*",
"@rslib/core": "0.0.16",
"@scripts/test-helper": "workspace:*",
"cross-env": "^7.0.3",
"cspell-ban-words": "^0.0.4",
"nano-staged": "^0.8.0",
"nx": "^20.0.9",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
}
}