generator-nodule

A Yeoman generator for nodejs modules

Usage no npm install needed!

<script type="module">
  import generatorNodule from 'https://cdn.skypack.dev/generator-nodule';
</script>

README

generator-nodule

A node.js module generator for Yeoman.

Build Status

Installation

To install generator-nodule from npm, run:

$ npm install -g generator-nodule

Finally, initiate the generator:

$ yo nodule

This generator will install the following files:

  • package-json.
  • Gruntfile.js : configured to use the following grunt modules:
    • grunt-complexity - show code complexity
    • grunt-contrib-watch - watch for changes then run tests
    • grunt-mocha-cli - run mocha tests
    • grunt-bump - easily release versions
  • .travis.yml : for continous integration.
  • .gitignore : ignore the usual stuff.
  • LICENSE - MIT license initialized with your details.
  • README.md - Initialized with your details and travis-ci badges.
  • index.js - dummy javascript file
  • test/index.js - unit tests using mocha and chai