heroku frontend install also dev deps

This commit is contained in:
2019-12-22 19:20:32 +03:00
parent f339eaca56
commit e8bbef82f7

View File

@@ -65,7 +65,7 @@
"ts-node-dev": "ts-node-dev -r tsconfig-paths/register src/server.ts",
"start": "ts-node -T -r tsconfig-paths/register src/server.ts",
"prod-start": "cross-env NODE_ENV=development npm start",
"build-frontend": "cd frontend && npm i && npm run build",
"build-frontend": "cd frontend && npm i && npm i --only dev && npm run build",
"build-backend": "npm i",
"build": "npm run build-backend && npm run build-frontend",
"frontend": "cd frontend && npm start",