-
-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 2.03 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
{
"name": "rslib-monorepo",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm --filter \"./packages/*\" run build",
"build:examples": "pnpm --filter \"@examples/*\" run build",
"check-spell": "pnpx cspell && heading-case",
"format": "prettier --experimental-cli --write . && heading-case --write",
"lint": "rslint --type-check",
"prebundle": "pnpm --filter \"./packages/*\" run prebundle",
"prepare": "simple-git-hooks && pnpm prebundle",
"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": "rstest --project integration",
"test:integration:exe": "rstest --project integration-exe",
"test:unit": "rstest --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": "pnpm exec nano-staged"
},
"nano-staged": {
"*.{md,mdx,css,less,scss,json,jsonc,json5}": "prettier --experimental-cli --write",
"*.{js,jsx,ts,tsx,mjs,mjsx,cjs,cjsx,mts,mtsx,cts,ctsx}": [
"rslint --type-check",
"prettier --experimental-cli --write"
]
},
"devDependencies": {
"@rslint/core": "^0.6.3",
"@rstest/adapter-rslib": "^0.10.6",
"@rstest/core": "^0.10.6",
"@types/fs-extra": "^11.0.4",
"@types/node": "^24.13.2",
"@typescript/native-preview": "7.0.0-dev.20260624.1",
"cspell-ban-words": "^0.0.4",
"fs-extra": "^11.3.5",
"heading-case": "^1.1.3",
"nano-staged": "^1.0.2",
"prettier": "^3.8.4",
"prettier-plugin-packagejson": "^3.0.2",
"simple-git-hooks": "^2.13.1",
"typescript": "^6.0.3"
},
"packageManager": "pnpm@11.9.0",
"engines": {
"node": "^20.19.0 || >=22.12.0",
"pnpm": ">=11.9.0"
}
}