-
-
Notifications
You must be signed in to change notification settings - Fork 353
/
package.json
50 lines (50 loc) · 1.96 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
{
"scripts": {
"========= Dev": "",
"// Develop Vike": "",
"dev": "cd vike/ && pnpm run dev",
"========= Build": "",
"// Build Vike": "",
"build": "cd vike/ && pnpm run build",
"========= Test": "",
"test": "vitest run && test-e2e && test-types",
"test:units": "vitest --project unit",
"test:e2e": "vitest run --project 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; vitest run && test-e2e --exclude test-deprecated-design && 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",
"// Try production build": "",
"docs:preview": "cd docs/ && pnpm run preview",
"========= Release": "",
"release": "cd vike/ && pnpm run release",
"release:commit": "cd vike/ && pnpm run release:commit",
"========= 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 run -w format`.' && exit 1)",
"========= Reset": "",
"reset": "git clean -Xdf && pnpm install && pnpm run build",
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@brillout/test-e2e": "^0.5.36",
"@brillout/test-types": "^0.1.13",
"playwright": "^1.47.0",
"prettier": "^3.2.5",
"vitest": "^2.1.3"
},
"pnpm": {
"overrides": {
"vike": "link:./vike/"
}
},
"packageManager": "pnpm@9.2.0"
}