Switch to Heroku Node.js auto-build
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user