-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.59 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.59 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
{
"name": "student-task-monorepo",
"version": "1.0.0",
"description": "全栈学生任务管理系统 - 使用 pnpm workspace 管理的 monorepo",
"private": true,
"workspaces": [
"client",
"server"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "concurrently \"pnpm run dev:server\" \"pnpm run dev:client\"",
"dev:client": "pnpm --filter client dev",
"dev:server": "pnpm --filter server dev",
"build": "pnpm run build:client",
"build:client": "cd client && NODE_ENV=production npm run build",
"build:server": "pnpm --filter server build",
"start": "pnpm --filter server start",
"test": "pnpm run test:client && pnpm run test:server",
"test:client": "pnpm --filter client test",
"test:server": "pnpm --filter server test",
"lint": "pnpm run lint:client && pnpm run lint:server",
"lint:client": "pnpm --filter client lint",
"lint:server": "pnpm --filter server lint",
"clean": "pnpm run clean:deps && pnpm run clean:builds",
"clean:deps": "rm -rf node_modules client/node_modules server/node_modules",
"clean:builds": "rm -rf client/dist server/dist server/app/public/js server/app/public/css server/app/public/index.html",
"fresh": "pnpm run clean && pnpm install",
"deploy": "pnpm run build && pnpm run start"
},
"devDependencies": {
"concurrently": "^8.2.2"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@8.15.0",
"author": "Developer",
"license": "MIT",
"keywords": [
"monorepo",
"vue",
"eggjs",
"fullstack",
"student-task"
]
}