forked from web-infra-dev/rsbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.81 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.81 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
54
55
56
57
{
"name": "rsbuild-monorepo",
"private": true,
"workspaces": [
"packages/*",
"packages/compat/*",
"scripts/*"
],
"scripts": {
"build": "cross-env NX_DAEMON=false nx run-many -t build --exclude @examples/* @e2e/* rsbuild-* --parallel=10",
"check-dependency-version": "pnpx check-dependency-version-consistency . --ignore-dep loader-utils",
"check-spell": "pnpx cspell && heading-case",
"doc": "cd website && pnpm dev",
"e2e": "cd ./e2e && pnpm e2e",
"e2e:rspack": "cd ./e2e && pnpm e2e:rspack",
"e2e:webpack": "cd ./e2e && pnpm e2e:webpack",
"format": "prettier --write . && heading-case --write",
"lint": "biome check && pnpm lint:type",
"lint:type": "rslint",
"prebundle": "nx run-many -t prebundle",
"prepare": "simple-git-hooks && pnpm build",
"sort-package-json": "pnpx sort-package-json \"./package.json\" \"packages/*/package.json\" \"packages/compat/*/package.json\"",
"test": "rstest",
"test:watch": "rstest watch"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged"
},
"nano-staged": {
"*.{md,mdx,json,css,less,scss}": "prettier --write",
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"biome check --write --no-errors-on-unmatched",
"prettier --write"
]
},
"devDependencies": {
"@biomejs/biome": "^2.2.2",
"@rsbuild/config": "workspace:*",
"@rslint/core": "^0.1.12",
"@rstest/core": "^0.2.2",
"@scripts/test-helper": "workspace:*",
"@types/node": "^22.17.2",
"cross-env": "^10.0.0",
"cspell-ban-words": "^0.0.4",
"heading-case": "^1.0.1",
"nano-staged": "^0.8.0",
"nx": "^21.4.1",
"prettier": "^3.6.2",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.2"
},
"packageManager": "pnpm@10.15.0",
"engines": {
"node": ">=18.12.0",
"pnpm": ">=10.15.0"
}
}