-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.56 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.56 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
58
59
60
61
62
63
64
65
66
67
{
"name": "rslib-monorepo",
"private": true,
"scripts": {
"build": "pnpm --filter \"./packages/*\" run build",
"build:examples": "pnpm --filter \"@examples/*\" run build",
"change": "changeset",
"changeset": "changeset",
"check-dependency-version": "check-dependency-version-consistency . && echo",
"check-spell": "pnpx cspell && heading-case",
"format": "prettier . --write && biome check --write && heading-case --write",
"generate-release-pr": "zx scripts/generateReleasePr.mjs",
"lint": "biome check . --diagnostic-level=warn && prettier . --check && pnpm run check-spell && pnpm lint:type",
"lint:type": "rslint",
"prebundle": "pnpm --filter \"./packages/*\" run prebundle",
"prepare": "simple-git-hooks && pnpm prebundle && pnpm build",
"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:ecosystem-ci": "pnpm run test:unit && cross-env ECO_CI=1 pnpm run test:integration && pnpm run test:e2e",
"test:integration": "rstest run --project integration",
"test:unit": "rstest run --project unit*",
"testu": "pnpm run test:unit -u && pnpm run test:integration -u",
"type-check": "pnpm -r run type-check",
"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,mjsx,cjs,cjsx,mts,mtsx,cts,ctsx}": [
"biome check --write"
],
"package.json": [
"pnpm run check-dependency-version",
"prettier --write"
]
},
"devDependencies": {
"@biomejs/biome": "^2.4.7",
"@changesets/cli": "^2.30.0",
"@rslint/core": "^0.2.3",
"@rstest/adapter-rslib": "^0.2.1",
"@rstest/core": "^0.9.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.12.0",
"check-dependency-version-consistency": "^6.0.0",
"cross-env": "^10.1.0",
"cspell-ban-words": "^0.0.4",
"fs-extra": "^11.3.4",
"heading-case": "^1.0.7",
"nano-staged": "^0.9.0",
"prettier": "^3.8.1",
"prettier-plugin-packagejson": "^3.0.2",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3",
"zx": "^8.8.5"
},
"packageManager": "pnpm@10.32.1",
"engines": {
"node": "^20.19.0 || >=22.12.0",
"pnpm": ">=10.32.1"
}
}