-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
25 lines (25 loc) · 1.12 KB
/
package.json
File metadata and controls
25 lines (25 loc) · 1.12 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
{
"name": "webmud3",
"private": true,
"version": "1.0.0-alpha",
"engines": {
"node": "~22.20.0"
},
"workspaces": ["frontend", "backend", "shared"],
"scripts": {
"build": "npm run build --workspace shared && npm run build --workspace frontend && npm run build --workspace backend",
"build:prod": "npm run build --workspace shared && npm run build:prod --workspace frontend && npm run build --workspace backend && npm run postbuild",
"clean": "npm run clean:dist && npm run clean:packages",
"clean:dist": "npm run clean:dist --workspaces --if-present",
"clean:packages": "npm run clean:packages --workspaces --if-present && rimraf node_modules",
"integrate-client": "npx cpy \"frontend/dist/frontend/browser/**\" backend/dist/wwwroot --recursive",
"postbuild": "npm run integrate-client",
"start": "npm run build && npm run serve --workspace backend",
"start:prod": "npm run build:prod && npm run serve --workspace backend",
"test": "npm run test --workspaces --if-present",
"lint": "npm run lint --workspaces --if-present"
},
"devDependencies": {
"cpy-cli": "~6.0.0"
}
}