-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.63 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 1.63 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
{
"name": "curiexplore-ui",
"version": "2.4.8",
"private": true,
"type": "commonjs",
"workspaces": [
"client",
"server"
],
"dependencies": {
"concurrently": "^8.0.1"
},
"scripts": {
"build": "rm -rf server/dist && npm -w client run build -- --mode ${npm_config_mode}",
"client": "npm -w client run start",
"predeploy": "git switch main && git pull origin main --rebase --tags && git merge origin staging",
"predeploy:patch": "npm run predeploy",
"predeploy:minor": "npm run predeploy",
"predeploy:major": "npm run predeploy",
"deploy:patch": "npm version --workspaces patch && git add **/package.json package-lock.json && npm version patch --include-workspace-root --force",
"deploy:minor": "npm version --workspaces minor && git add **/package.json package-lock.json && npm version minor --include-workspace-root --force",
"deploy:major": "npm version --workspaces major && git add **/package.json package-lock.json && npm version major --include-workspace-root --force",
"postdeploy": "git push origin main --tags && git switch staging && git merge origin main && git push",
"postdeploy:patch": "npm run postdeploy",
"postdeploy:minor": "npm run postdeploy",
"postdeploy:major": "npm run postdeploy",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"preview": "npm run build --mode=${npm_config_mode} && npm -w server start",
"server": "npm -w server run dev",
"start": "npm run dev",
"start:staging": "npm ci --silent && npm run build --mode=staging && npm run -w server start"
},
"optionalDependencies": {
"win-node-env": "^0.6.1"
}
}