Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 2.08 KB
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
{
"name": "vite-mastery",
"version": "0.0.1",
"private": false,
"description": "中文社区第一份「Vite 核心机制 + 插件/Hooks 深度」的系统化学习指南",
"keywords": [
"Chinese",
"docs",
"vite"
],
"author": "Cyrus Doyle",
"type": "module",
"scripts": {
"dev": "pnpm --filter @vite-mastery/web dev",
"dev:web": "pnpm --filter @vite-mastery/web dev",
"dev:playground": "pnpm --filter @vite-mastery/playground dev",
"dev:all": "pnpm -r --parallel --if-present run dev",
"build": "pnpm -r --if-present run build",
"build:web": "VERCEL=1 pnpm --filter @vite-mastery/web build",
"build:playground": "pnpm --filter @vite-mastery/playground build",
"start": "pnpm -r --if-present run start",
"start:web": "pnpm --filter @vite-mastery/web start",
"start:playground": "pnpm --filter @vite-mastery/playground start",
"preview:web": "pnpm build:web && pnpm start:web",
"preview:playground": "pnpm build:playground && pnpm start:playground",
"lint": "oxlint .",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"typecheck": "pnpm -r --if-present run typecheck",
"clean": "pnpm -r --if-present run clean",
"new:doc": "node --experimental-strip-types scripts/new-doc.ts",
"new:example": "node --experimental-strip-types scripts/new-example.ts",
"new:v7note": "node --experimental-strip-types scripts/new-v7note.ts",
"check:content": "node --experimental-strip-types scripts/check-content.ts",
"fix:tw": "pnpm dlx @tailwindcss/upgrade",
"pre-commit": "pnpm format && pnpm lint && pnpm build:web"
},
"dependencies": {
"@vercel/analytics": "^2.0.1",
"@vercel/speed-insights": "^2.0.0"
},
"devDependencies": {
"@types/node": "^26.6.2",
"oxfmt": "^0.70.0",
"oxlint": "^1.85.0",
"tailwindcss": "^4.3.3",
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vitest": "^5.0.1"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "12.5.1",
"onFail": "warn"
}
},
"engines": {
"node": ">=24",
"pnpm": ">=11"
}
}