0.0.1 • Published 8 years ago

generator-avanyc v0.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

generator-avanyc

Yeoman generator that quickly adds nyc test coverage to your AVA projects

Build Status Coverage Status

Install

$ npm install --global generator-avanyc

Usage

From within your project's root directory, run:

$ yo avanyc

Process

This generator updates your existing .gitignore and package.json files, and it automatically installs the nyc dependency for you. If your project does not have a .gitignore or package.json file, no files will be updated. This module won't overwrite existing entries, and it won't delete anything from your existing files. See below for process details.

.gitignore

The following entries are added to your .gitignore file:

.nyc_output
coverage
package.json

The necessary entries are added to your package.json file:

scripts: {
    "test" : "nyc ava"
    ...
},

"dependencies" : {
    "nyc": "*"
    ...
}
dependencies

nyc is automatically installed for you via:

npm install

Related

License

MIT © Michael Wuergler