-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
70 lines (70 loc) · 2.58 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
63
64
65
66
67
68
69
70
{
"name": "rslib-monorepo",
"private": true,
"scripts": {
"build": "cross-env NX_DAEMON=false nx run-many -t build --exclude @examples/* rslib-website --parallel=10",
"build:examples": "cross-env NX_DAEMON=false nx run-many -t build --projects @examples/* --parallel=10",
"change": "changeset",
"changeset": "changeset",
"check-dependency-version": "check-dependency-version-consistency .",
"check-spell": "pnpx cspell",
"format": "prettier . --write && biome check --write",
"generate-release-pr": "zx scripts/generateReleasePr.mjs",
"lint": "biome check . --diagnostic-level=warn && prettier . --check && pnpm run check-spell",
"prebundle": "nx run-many -t prebundle",
"prepare": "pnpm run build && simple-git-hooks",
"sort-package-json": "npx sort-package-json \"packages/*/package.json\"",
"test": "pnpm run test:unit && pnpm run test:integration && pnpm run test:e2e",
"test:benchmark": "cd ./tests && pnpm run test:benchmark",
"test:e2e": "pnpm run build:examples && cd tests && pnpm run test:e2e",
"test:integration": "cross-env NODE_OPTIONS='--experimental-vm-modules' vitest run --project integration",
"test:integration:watch": "cross-env NODE_OPTIONS='--experimental-vm-modules' vitest --project integration",
"test:unit": "vitest run --project unit*",
"test:unit:watch": "vitest --project unit*",
"testu": "pnpm run test:unit -u && pnpm run test:integration -u",
"update:rsbuild": "npx taze minor --include /rsbuild/ -w -r -l",
"watch": "pnpm build --watch"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
},
"nano-staged": {
"*.{md,mdx,css,less,scss,json,jsonc,json5}": "prettier --write",
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"biome check --write"
],
"package.json": [
"pnpm run check-dependency-version",
"prettier --write"
],
"pnpm-lock.yaml": "pnpm dedupe --check"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.27.11",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.8.1",
"check-dependency-version-consistency": "^5.0.0",
"cross-env": "^7.0.3",
"cspell-ban-words": "^0.0.4",
"fs-extra": "^11.2.0",
"nano-staged": "^0.8.0",
"nx": "^20.3.0",
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.6",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8",
"zx": "^8.3.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
},
"pnpm": {
"overrides": {
"zx>@types/node": "-"
}
}
}