2.1.0 • Published 8 years ago
heroku-cli-node v2.1.0
Quickly create best-practice Node.js apps for Heroku
$ heroku plugins:install heroku-cli-node
$ heroku node:generate myappWhy?
A solid node app still takes a lot of boilerplate:
package.json, configured for an app instead of a module.envto inject environment variables locallyyarn.lockto lock your dependenciesreadme.mdto describe what the app does.gitignoreso you can keep node modules out of gitapp.jsonto support Pipelines, Review Apps, CI, and the 'Deploy to Heroku' Button- at least one file in
/binto provide an executable for your app - a standard linter to keep you on track
- a mechanism for identifying security vulnerabilities
- automated testing
- and finally a
Procfileto list your app's process types
...and I like to build solid apps, but I'm also lazy.