0.0.1 • Published 8 years ago
generator-avanyc v0.0.1
generator-avanyc
Yeoman generator that quickly adds nyc test coverage to your AVA projects
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
- generator-nm Scaffold out a node module with the AVA test runner
License
MIT © Michael Wuergler
0.0.1
8 years ago