heroku-cli-node

2.1.0 • Public • Published

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 locally
  • yarn.lock to lock your dependencies
  • readme.md to describe what the app does
  • .gitignore so you can keep node modules out of git
  • app.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.

Readme

Keywords

Package Sidebar

Install

npm i heroku-cli-node

Weekly Downloads

1

Version

2.1.0

License

MIT

Last publish

Collaborators

  • hunterloftis