-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·16 lines (16 loc) · 849 Bytes
/
Copy pathpackage.json
File metadata and controls
executable file
·16 lines (16 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"private": true,
"scripts": {
"ng": "cd fe && ng",
"start": "ng serve",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"docker": "npm run docker:down && cd docker && docker-compose up -d",
"docker:down": "cd docker && docker-compose down --remove-orphans",
"install": "cd fe && npm i --legacy-peer-deps && cd ../be && npm i --legacy-peer-deps",
"build": "cd fe && ng build --prod",
"prepare:acme": "mkdir -p docker/letsencrypt && touch docker/letsencrypt/acme.json && chmod 600 docker/letsencrypt/acme.json",
"deploy": "npm run docker:down && npm run install && npm run build && sudo chown -R 1000:1000 fe/dist/app && npm run prepare:acme && docker-compose -f docker/docker-compose.prod.yml up -d"
},
"dependencies": {}
}