Switch to Heroku Node.js auto-build

This commit is contained in:
Mars Hall
2019-04-01 15:30:25 -07:00
parent 440b1b2d29
commit 09e155d625
2 changed files with 5 additions and 6 deletions

View File

@@ -1,13 +1,13 @@
{
"name": "heroku-cra-node",
"version": "1.0.0",
"version": "2.0.0",
"description": "How to use create-react-app with a custom Node API on Heroku",
"engines": {
"node": "10.x"
},
"scripts": {
"start": "node server",
"heroku-postbuild": "cd react-ui/ && npm install && npm install --only=dev --no-shrinkwrap && npm run build"
"build": "cd react-ui/ && npm install && npm install --only=dev --no-shrinkwrap && npm run build"
},
"cacheDirectories": [
"node_modules",