generator-nody

0.3.0 • Public • Published

nody

NPM version Build Status Code Climate Test Coverage

Based on generator-node-gulp

This generator creates a new Node.js module, generating all the boilerplate you need to get started with best-of-breed from the gulp ecosystem. The generator also optionally installs additional gulp plugins, see the list below.

Installation

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

Usage

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

yo nody [options]

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.

Options

  • --test-framework=[framework]

    Defaults to mocha. Can be switched to jasmine.

  • --name-case

    Set name style. Defaults to kebab, Can be switched to camel, snake

  • --skip-install

    Skips the automatic execution of bower and npm after scaffolding has finished.

  • --skip-cache

    Do not remember prompt answers. Default false.

  • --force

    Force overwrite file

  • --help

    Show help

devDependencies

dependencies

Support

Should you have any problems or wishes for improvements, feel free to open an issue.

Articles

Some recommended articles to get you started with node.

Knowledges

  • Yeoman support template file name
  • If your template file need use <% keyword, you can use <%% for saving it
  • Yeoman generator has directory function to copy recursively the files from source directory to root directory, make sure the destination dirs exists, and note that the function useing copy, not template
  • Yeoman support sync get git email this.git.email() and name this.git.name() and async get git login name this.github.username(cb)

License

MIT License

Bitdeli Badge

Package Sidebar

Install

npm i generator-nody

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • qiu8310