diff --git a/client/package.json b/client/package.json index 54603f4..652257e 100644 --- a/client/package.json +++ b/client/package.json @@ -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" }, diff --git a/package.json b/package.json index e81080e..82669b6 100644 --- a/package.json +++ b/package.json @@ -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",