forked from web-infra-dev/rspress
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.48 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
{
"private": true,
"name": "monorepo",
"scripts": {
"change": "changeset",
"changeset": "changeset",
"prepare": "pnpm run build && husky",
"check-spell": "npx cspell",
"check-dependency-version": "check-dependency-version-consistency . --dep-type devDependencies",
"dev": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t dev --exclude @rspress-fixture/* --exclude @rspress/docs",
"build": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t build --exclude @rspress-fixture/* --exclude @rspress/docs",
"test": "pnpm test:unit && pnpm test:e2e",
"test:unit": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t test --exclude @rspress-fixture/*",
"test:e2e": "playwright test",
"lint": "biome lint . --diagnostic-level=warn",
"dev:website": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run @rspress/docs:dev",
"build:website": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run @rspress/docs:build",
"preview:website": "cd packages/document && npm run preview",
"update:modern": "npx taze minor --include /modern-js/ -w -r -l",
"update:rsbuild": "npx taze minor --include /rsbuild/ -w -r -l",
"format": "biome format --write ./packages"
},
"engines": {
"node": ">=16.18.1"
},
"packageManager": "[email protected]",
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs}": [
"biome check . --apply --organize-imports-enabled=false --no-errors-on-unmatched"
],
"package.json": [
"pnpm run check-dependency-version"
]
},
"workspaces": {
"packages": [
"apps/*",
"examples/*",
"features/*",
"packages/*"
]
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.10",
"@modern-js/module-tools": "2.63.2",
"@modern-js/tsconfig": "2.63.2",
"@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": "^4.1.1",
"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",
"husky": "^9.1.7",
"lint-staged": "~15.2.11",
"nx": "20.2.2",
"playwright": "1.47.2",
"prettier": "3.4.2",
"tree-kill": "^1.2.2",
"vitest": "2.1.8"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}