Skip to content

Commit

Permalink
Fixing packages json to deploy on render.com
Browse files Browse the repository at this point in the history
  • Loading branch information
samilabud committed Nov 11, 2023
1 parent 927c7d7 commit bc4df18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"workbox-streams": "^5.1.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"scripts": {
"client": "cd client && npm run start",
"server": "nodemon server.js",
"build": "cd client && npm run build",
"dev": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"",
"start": "node server.js",
"heroku-postbuild": "cd client && npm install && npm run build"
"start": "nodemon server.js",
"postbuild": "cd client && npm install && npm run start"
},
"dependencies": {
"body-parser": "^1.18.3",
Expand Down

0 comments on commit bc4df18

Please sign in to comment.