JSPM

generator-nodule

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q34440F

A Yeoman generator for nodejs modules

Package Exports

  • generator-nodule

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-nodule) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

generator-nodejs

A node.js module scaffolding 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 - initialized with the answers to all your questions.
  • Gruntfile.js (if grunt is selected) - 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 (because mocha -w sucks)
  • .travis.yml - set up so you can push and get travis-ci continous integration tests.
  • .gitignore - ignore the usual cruft.
  • LICENSE - MIT license initialized with your details.
  • README.md - Initialized with your details and travis-ci badges.
  • index.js - Initial library file
  • test/index.js - First unit test in the test framework of your choosing (ie. mocha, tape, or redtape)