🌱
This commit is contained in:
31
package.json
Normal file
31
package.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"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": {}
|
||||
}
|
||||
Reference in New Issue
Block a user