32 lines
713 B
JSON
32 lines
713 B
JSON
{
|
|
"name": "heroku-cra-node",
|
|
"version": "1.0.0",
|
|
"description": "How to use create-react-app with a custom Node API on Heroku",
|
|
"engines": {
|
|
"node": "6.9.x"
|
|
},
|
|
"scripts": {
|
|
"start": "node server",
|
|
"postinstall": "if [ \"$NODE_ENV\" = production ]; then cd react-ui/ && npm install --only=dev && npm install && npm run build; fi"
|
|
},
|
|
"cacheDirectories": [
|
|
"node_modules",
|
|
"react-ui/node_modules"
|
|
],
|
|
"dependencies": {
|
|
"express": "^4.14.1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mars/heroku-cra-node.git"
|
|
},
|
|
"keywords": [
|
|
"node",
|
|
"heroku",
|
|
"create-react-app",
|
|
"react"
|
|
],
|
|
"license": "MIT",
|
|
"devDependencies": {}
|
|
}
|