-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
22 lines (22 loc) · 944 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "works-magnet",
"version": "0.9.2",
"private": true,
"workspaces": [
"client",
"server"
],
"dependencies": {
"concurrently": "^8.0.1",
"extensionless": "^1.9.9"
},
"scripts": {
"build": "rm -rf server/dist && npm -w client run build -- --mode ${npm_config_mode} --emptyOutDir --outDir ../server/dist",
"client": "npm -w client run dev",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"deploy": "git switch main && git pull origin main --rebase --tags && git merge origin staging && npm version $npm_config_level -ws && git add **/package.json package-lock.json && npm version $npm_config_level --include-workspace-root --force && git push origin main --tags && git switch staging && git merge origin main && git push",
"preview": "npm run build --mode=${npm_config_mode} && npm -w server start",
"server": "npm -w server run dev",
"start": "npm run dev"
}
}