Skip to content

nover/generator-node-es6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

First ensure that you have yarn installed, as it is needed by the generator.

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

About

A highly opinionated yeoman generator for node modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •