0.0.1 • Published 10 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-avanycUsage
From within your project's root directory, run:
$ yo avanycProcess
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
coveragepackage.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 installRelated
- generator-nm Scaffold out a node module with the AVA test runner
License
MIT © Michael Wuergler
0.0.1
10 years ago