forked from vikejs/vike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.52 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
{
"scripts": {
"========= Dev": "",
"// Develop Vike": "",
"dev": "cd vike/ && pnpm run dev",
"dev:cjs": "cd vike/ && pnpm run dev:cjs",
"dev:esm": "cd vike/ && pnpm run dev:esm",
"// Run `$ pnpm dev:setup` before running `$ pnpm dev`": "",
"dev:setup": "pnpm run clean && pnpm install",
"========= Build": "",
"// Build Vike": "",
"build": "cd vike/ && pnpm run build",
"========= Test": "",
"// Run tests": "",
"test": "pnpm run test:units && pnpm run test:e2e && pnpm run test:types",
"test:units": "vitest run",
"test:e2e": "test-e2e",
"test:types": "test-types",
"// https://github.com/vitejs/vite-ecosystem-ci/blob/6b5e66429c57047394cf7b7d8e052532ea03a414/tests/vike.ts#L14": "",
"test:vite-ecosystem-ci": "(export VITE_ECOSYSTEM_CI=true; pnpm run test:units && pnpm run test:e2e --exclude test-deprecated-design && pnpm run test:types)",
"========= Docs": "",
"// Develop website https://vike.dev": "",
"docs": "cd docs/ && pnpm run dev",
"// Build https://vike.dev for production": "",
"docs:build": "cd docs/ && pnpm run build",
"// Simulate https://vike.dev production version": "",
"docs:preview": "cd docs/ && pnpm run preview",
"========= Release": "",
"release": "cd vike/ && pnpm run release",
"release:commit": "cd vike/ && pnpm run release:commit",
"========= Clean": "",
"// Remove all generated files": "",
"clean": "git clean -Xdf",
"reset": "pnpm run clean && pnpm install && pnpm run build",
"========= Formatting": "",
"format": "pnpm run format:biome",
"format:prettier": "git ls-files | egrep '\\.(json|js|jsx|css|ts|tsx|vue|mjs|cjs)$' | grep --invert-match package.json | xargs pnpm exec prettier --write",
"format:biome": "biome format --write .",
"format:check": "biome format . || echo Fix formatting by running: $ pnpm -w run format",
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@brillout/test-e2e": "^0.5.28",
"@brillout/test-types": "^0.1.10",
"prettier": "3.2.5",
"vitest": "^1.3.1"
},
"pnpm": {
"overrides": {
"vike": "link:./vike/"
},
"packageExtensions": {
"@apollo/client": {
"peerDependencies": {
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
}
}
}
},
"packageManager": "pnpm@8.15.1"
}