Configured api and client for production builds

This commit is contained in:
ireic
2020-01-07 21:38:45 +01:00
parent 164cf2b137
commit 10e5696c63
13 changed files with 192 additions and 194 deletions

View File

@@ -4,10 +4,10 @@
"author": "Ivor Reic",
"license": "MIT",
"scripts": {
"pre-commit:api": "cd api && npm run pre-commit",
"pre-commit:client": "cd client && npm run pre-commit",
"pre-commit": "npm run pre-commit:api && npm run pre-commit:client",
"install-deps": "npm install && cd api && npm install && cd ../client && npm install"
"pre-commit": "cd api && npm run pre-commit && cd ../client && npm run pre-commit",
"install-dependencies": "npm install && cd api && npm install && cd ../client && npm install",
"build": "cd api && npm run build && cd ../client && npm run build",
"start:production": "cd api && npm run start:production && cd ../client && npm run start:production"
},
"devDependencies": {
"husky": "^4.0.0-beta.5"