Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

generator-zo

0.1.0 • Public • Published

generator-zo

A node.js module scaffolding generator for Yeoman.

Build Status

Installation

To install generator-zo from npm, run:

$ npm install -g generator-zo

Finally, initiate the generator:

$ yo zo

generator-zo screenshot

This generator now supports tape, mocha, and redtape as test frameworks.

It also supports expect.js, chai and 'none' for assertion libraries for BDD style tests.

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-jshint - run code through jshint
    • grunt-contrib-watch - watch for changes then run tests
    • grunt-mocha-cli (if mocha is selected as a test framework) - run mocha tests (because mocha -w sucks)
    • grunt-tape (if 'tape' or 'redtape' is selected as a test framework) - run tape tests
  • .jshintrc - with some sane defaults (for me anyway!)
  • .travis.yml - set up so you can push and get travis-ci continous integration tests.
  • .gitignore - ignore the usual cruft.
  • LICENSE - BSD-3-Clause 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)

install

npm i generator-zo

Downloadsweekly downloads

6

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability