generator-nomo

A node generator for Yeoman with Mocha unit tests and choice of assertion library

Usage no npm install needed!

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

README

Nomo Generator

Build Status Dependency Status devDependency Status

Create a node.js module with Yeoman, including Mocha unit tests, with the assertion library of your choice.

Installation

Install the generator by running: npm install -g generator-nomo.

Usage

At the command-line, cd into an empty directory, run this command and follow the prompts.

yo nomo

Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.

The prompts are:

Module Name:
Module Version:
Description:
Homepage:
License:
GitHub username:
Author's Name:
Author's Email:
Author's Homepage:
Key your keywords:
Do you need cli tools?:
Do you need browserify?:
Which Mocha reporter would you like to use?:
Which assertion library would you like to use?:

Credits

This generator is a fork of generator-node-mocha-star.

The should.js guide was taken from grunt-initconfig

Author: Tao Yuan

Original Authors: Brad Denver, Addy Osmani

License

MIT License