generator-nody
v0.3.0
Published
A node generator for Yeoman, with mocha, gulp, istanbul, jshint and jasmine supported
Downloads
83
Maintainers
Readme
nody
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 tojasmine.--name-caseSet name style. Defaults to
kebab, Can be switched tocamel,snake--skip-installSkips the automatic execution of
bowerandnpmafter scaffolding has finished.--skip-cacheDo not remember prompt answers. Default
false.--forceForce overwrite file
--helpShow help
devDependencies
- Mocha Unit Testing with gulp-mocha
- Automagically lint your code with gulp-jshint
- Optional – Check JavaScript code style with gulp-jscs
- Optional – Measuring code coverage with gulp-istanbul
- Optional – Upload LCOV data to coveralls.io with coveralls
- Optional – Bump npm versions with gulp-bump
- Optional - Jasmine Unit Testing with gulp-jasmine
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
directoryfunction to copy recursively the files from source directory to root directory, make sure the destination dirs exists, and note that the function useingcopy, nottemplate - Yeoman support sync get git email
this.git.email()and namethis.git.name()and async get git login namethis.github.username(cb)

