forked from vikejs/vike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.61 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
{
"scripts": {
"========= Dev": "",
"// Develop vite-plugin-ssr": "",
"dev": "cd vite-plugin-ssr/ && pnpm run dev",
"dev:cjs": "cd vite-plugin-ssr/ && pnpm run dev:cjs",
"dev:esm": "cd vite-plugin-ssr/ && pnpm run dev:esm",
"// Run `$ pnpm dev:setup` before running `$ pnpm dev`": "",
"dev:setup": "pnpm run clean && pnpm install",
"========= Build": "",
"// Build vite-plugin-ssr": "",
"build": "cd vite-plugin-ssr/ && pnpm run build",
"========= Test": "",
"// Run tests": "",
"test": "pnpm run test:units && pnpm run test:e2e && pnpm run test:types",
"test:units": "vitest",
"test:e2e": "cd libframe/test/ && pnpm run test:jest",
"test:types": "cd libframe/test/ && pnpm run test:types",
"// Run `$ pnpm test:setup` before running `$ pnpm test`": "",
"test:setup": "pnpm run clean && pnpm install && pnpm run build",
"========= Docs": "",
"// Develop website https://vite-plugin-ssr.com": "",
"docs": "cd docs/ && pnpm run dev",
"// Build https://vite-plugin-ssr.com for production": "",
"docs:build": "cd docs/ && pnpm run build",
"// Simulate https://vite-plugin-ssr.com production version": "",
"docs:preview": "cd docs/ && pnpm run preview",
"========= Handle ./libframe/ submodule": "",
"setup": "pnpm run libframe:clone",
"pnpm:devPreinstall": "pnpm run libframe:check",
"postinstall": "pnpm run libframe:init",
"libframe:check": "node ./.libframe-submodule/check.js",
"libframe:clone": "node ./.libframe-submodule/clone.js ",
"libframe:init": "pnpm exec submodule-init libframe/",
"========= Upgrade deps": "",
"// Upgrade all dependencies of all `package.json` that have tests": "",
"bump": "cd libframe/scripts/ && pnpm run bump",
"========= Release": "",
"release": "cd vite-plugin-ssr/ && pnpm run release",
"========= Clean": "",
"// Remove all generated files": "",
"clean": "git clean -Xdf",
"reset": "pnpm run clean && pnpm install && pnpm run build",
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
"devDependencies": {
"@brillout/dev-my-dep": "0.0.10",
"@brillout/submodule-init": "0.1.2",
"vitest": "^0.14.1"
},
"pnpm": {
"overrides": {
"vite-plugin-ssr": "link:./vite-plugin-ssr/"
},
"packageExtensions": {
"@apollo/client": {
"peerDependencies": {
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
}
}
}
},
"packageManager": "pnpm@7.9.5"
}