1$ heroku config:set GITHUB_USERNAME=joesmith
2Adding config vars and restarting myapp... done, v12
3GITHUB_USERNAME: joesmith
4
1// When pushing to heroku and it finds a package.json file in the root folder,
2// the following npm scripts are gonna be executed:
3
4"scripts": {
5 "heroku-prebuild": "echo This runs before Heroku installs dependencies.",
6 "build": "echo This won't run when there's a heroku-postbuild script. Otherwise it runs instead.",
7 "heroku-postbuild": "echo This runs after Heroku installs dependencies, but before Heroku prunes and caches dependencies.",
8 "heroku-cleanup": "echo This runs after Heroku prunes and caches dependencies.",
9 "start": "echo You can specify you start script here."
10}