Skip to content

Commit c49d4b2

Browse files
author
Thiago Zanluca
committed
heroku postbuild
1 parent 9334b40 commit c49d4b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"start": "node backend/server.js",
88
"server": "nodemon --inspect backend/server.js",
99
"client": "npm start --prefix frontend",
10-
"dev": "concurrently \"npm run server\" \"npm run client\""
10+
"dev": "concurrently \"npm run server\" \"npm run client\"",
11+
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix frontend && npm run build --prefix frontend"
1112
},
1213
"repository": {
1314
"type": "git",

0 commit comments

Comments
 (0)