-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
72 lines (72 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
71
72
{
"name": "workspace",
"private": true,
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"build": "pnpm -r --filter='./packages/*' run build",
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
"format": "prettier --write * --ignore-unknown",
"ver": "pnpm recursive --filter create-vite-pages --filter vite-plugin-react-pages --filter vite-pages-theme-doc exec -- npm version",
"ver:p": "npm run ver -- patch",
"ver:mi": "npm run ver -- minor",
"ver:major": "npm run ver -- major",
"ver:alpha": "npm run ver -- prerelease --preid alpha",
"pub": "pnpm -r publish --filter create-vite-pages --filter vite-plugin-react-pages --filter vite-pages-theme-doc",
"update-deps": "pnpm -r update -i -L",
"update-local-deps": "pnpm update -r vite-plugin-react-pages vite-pages-theme-doc --workspace --filter \"!./packages/create-project/**\"",
"test": "playwright test -c ./test-setup",
"test-serve": "cross-env VITE_PAGES_MODE=serve pnpm test",
"test-build": "cross-env VITE_PAGES_MODE=build pnpm test",
"test-ssr": "cross-env VITE_PAGES_MODE=ssr pnpm test",
"test-debug": "pnpm test -- --debug",
"build:docs": "pnpm build:core && pnpm build:theme && pnpm build:docs-only",
"build:docs-only": "pnpm --filter doc-site run ssr-for-deploy",
"build:core": "pnpm --filter vite-plugin-react-pages run build",
"build:theme": "pnpm --filter vite-pages-theme-doc run build",
"install-test-deps": "playwright install --with-deps chromium",
"lint-staged": "lint-staged -q",
"prepare": "husky install"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
]
},
"devDependencies": {
"@playwright/test": "~1.41.1",
"@pnpm/link-bins": "^9.0.12",
"@pnpm/logger": "^5.0.0",
"@types/node": "^20.11.5",
"@types/wait-on": "^5.3.4",
"cross-env": "^7.0.3",
"execa": "^5.1.1",
"fs-extra": "11.1.1",
"get-port": "^5.1.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"sirv": "^2.0.4",
"slash": "^3.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"wait-on": "^6.0.1"
},
"// fs-extra comment": "[email protected] 's fs.copy has bug on test-setup/utils/fsUtils.ts. So fix its version at 11.1.1 for now.",
"pnpm": {
"overrides": {
"vite-plugin-react-pages": "workspace:*",
"vite-pages-theme-doc": "workspace:*"
},
"peerDependencyRules": {
"ignoreMissing": [
"react",
"react-dom",
"typescript",
"rollup",
"@babel/core"
]
}
}
}