Skip to content

Commit eaaa666

Browse files
committed
Update build command
1 parent 2d5c2a6 commit eaaa666

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
"install-dependencies": "npm run install-dependencies-front && npm run install-dependencies-back",
77
"install-dependencies-front": "cd frontend && npm i",
88
"install-dependencies-back": "cd backend && npm i",
9-
"start:front": "cd frontend && npm start",
9+
"start:front": "npm run install-dependencies-front && cd frontend && npm start",
1010
"build:front": "cd frontend && npm run build",
11-
"start:back": "cd backend && npm start",
11+
"start:back": "npm run install-dependencies-back && cd backend && npm start",
1212
"build:back": "cd backend && npm run build",
13-
"start": "npm run start:back && npm run start:front",
1413
"build": "npm run install-dependencies && npm run build:back && npm run build:front",
1514
"heroku-postbuild": "npm run install-dependencies-back && npm run build:back"
1615
},

0 commit comments

Comments
 (0)