generator-node-es6

0.0.8 • Public • Published

Yeoman generator producing ES6 node modules

A node module generator for yeoman. Opinionated in the sense that it creates

  • ES6 node modules, no transpiling via babel
  • Uses yarn for dependency management
  • Uses Mocha for testing
  • Uses Unexpected for assertions
  • Uses TestDouble for mocking
  • eslint with airbnb rules ( with some minor tweaks )
  • installs a pre-commit hook to ensure lint and tests are executed before a commit

Install it

Install the generator with npm:

$ npm install -g yo generator-node-es6

Use it

Usage of the generator is via yo

$ yo node-es6

Answer the questions and celebrate that a new node module is generated for you.

Contribute

  • Clone the repository
  • Add your awesome feature
  • make sure to add tests
  • use npm link to use your new version locally
  • Create a pull request

TODO

  • use cache to save answers
  • submodule generator for tests
  • submodule generator for hapi-plugin
  • submodule generator for hapi-plugin test
  • submodule generator for hapi api

Package Sidebar

Install

npm i generator-node-es6

Weekly Downloads

1

Version

0.0.8

License

MIT

Last publish

Collaborators

  • nover