Last active
February 20, 2018 08:12
-
-
Save adamkleingit/2a9cc71ab871181e47b54d1b566e6c3d to your computer and use it in GitHub Desktop.
Files for deploying Node.JS to Heroku
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(automatically generated from npm) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my-app", | |
"engines": { | |
"node": "~9.3.0", | |
"npm": "~5.5.1", | |
"yarn": "~1.3.2" | |
}, | |
"scripts": { | |
"heroku-postbuild": "npm run build", | |
"build": <compile ES6, Babel, Ts, whatever...> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment