This commit is contained in:
Sergey Yarkov 2020-02-29 10:44:35 +03:00
parent 05e6bafbdf
commit 6cdb91e767

View File

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"postinstall": "cd backend && npm install && cd ../frontend && npm install",
"build": "npm run --prefix ./frontend build",
"heroku-postbuild": "npm run --prefix ./frontend build",
"start": "concurrently \"npm run --prefix ./backend/ start\" \"npm run --prefix ./frontend/ start\"",
"download": "concurrently \"npm run --prefix ./backend/ install\" \"npm run --prefix ./frontend/ install\"",
"dev": "concurrently \"yarn --cwd ./backend/ develop\" \"yarn --cwd ./frontend/ dev\""