-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.75 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.75 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
{
"name": "datasupr",
"version": "0.1.3",
"private": true,
"workspaces": [
"client",
"server"
],
"dependencies": {
"concurrently": "^8.0.1"
},
"scripts": {
"build": "rm -rf server/dist && npm -w client run build -- --emptyOutDir --outDir ../server/dist",
"build:staging": "rm -rf server/dist && npm -w client run build:staging -- --emptyOutDir --outDir ../server/dist",
"client": "npm -w client run dev",
"client:docker": "npm -w client run dev:docker",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"dev:docker": "concurrently \"npm run server\" \"npm run client:docker\"",
"preview": "npm run build --mode=${npm_config_mode} && npm -w server start",
"server": "npm -w server run dev",
"start": "npm run dev",
"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",
"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",
"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"
},
"devDependencies": {
"@types/js-cookie": "^3.0.6"
}
}