-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.08 KB
/
package.json
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
{
"name": "curiexplore-ui",
"version": "2.4.1",
"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",
"deploy": "git switch main && git pull origin main --rebase --tags && git merge origin staging && npm version $npm_config_level && git push origin main --tags && git switch staging",
"deploy-windows": "git switch main && git pull origin main --rebase --tags && git merge origin staging && npm version %npm_config_level% && git push origin main --tags && git switch staging",
"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"
}
}