2.1.0 • Published 7 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 myapp
Why?
A solid node app still takes a lot of boilerplate:
package.json
, configured for an app instead of a module.env
to inject environment variables locallyyarn.lock
to lock your dependenciesreadme.md
to describe what the app does.gitignore
so you can keep node modules out of gitapp.json
to support Pipelines, Review Apps, CI, and the 'Deploy to Heroku' Button- at least one file in
/bin
to 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
Procfile
to list your app's process types
...and I like to build solid apps, but I'm also lazy.