-
Notifications
You must be signed in to change notification settings - Fork 146
/
Copy pathpackage.json
77 lines (77 loc) · 2.77 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
71
72
73
74
75
76
77
{
"name": "rspress-monorepo",
"private": true,
"scripts": {
"build": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t build --exclude @rspress-fixture/* --exclude @rspress/docs",
"build:website": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run @rspress/docs:build",
"change": "changeset",
"changeset": "changeset",
"check-dependency-version": "check-dependency-version-consistency . --dep-type devDependencies",
"check-spell": "npx cspell && heading-case",
"dev": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t dev --exclude @rspress-fixture/* --exclude @rspress/docs",
"dev:website": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run @rspress/docs:dev",
"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",
"prepare": "pnpm run build && husky",
"preview:website": "cd packages/document && npm run preview",
"test": "pnpm test:unit && pnpm test:e2e",
"test:e2e": "playwright test",
"test:unit": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t test --exclude @rspress-fixture/*",
"update:modern": "npx taze minor --include /modern-js/ -w -r -l",
"update:rsbuild": "npx taze minor --include /rsbuild/ -w -r -l"
},
"lint-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"
]
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.11",
"@modern-js/module-tools": "2.63.7",
"@modern-js/tsconfig": "2.63.7",
"@playwright/test": "1.47.2",
"@types/cross-spawn": "^6.0.6",
"@types/fs-extra": "11.0.4",
"@types/node": "^18.11.17",
"check-dependency-version-consistency": "^5.0.0",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.6",
"cspell-ban-words": "^0.0.4",
"execa": "8.0.1",
"fs-extra": "11.2.0",
"get-port": "5.1.1",
"heading-case": "^0.1.4",
"husky": "^9.1.7",
"lint-staged": "~15.3.0",
"nx": "20.3.2",
"playwright": "1.47.2",
"prettier": "3.4.2",
"prettier-plugin-packagejson": "^2.5.8",
"tree-kill": "^1.2.2",
"vitest": "2.1.8",
"zx": "^8.3.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.18.1"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"pnpm": {
"onlyBuiltDependencies": [
"@biomejs/biome",
"core-js",
"esbuild",
"nx"
]
}
}