Skip to content

dan-nl/generator-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-tap

NPM version Dependency Status Dev Dependency Status NSP Status

yeoman generator that sets up tap, and optionally, sinon, in the target project

adds the following npm scripts to the package.json file:

"scripts": {
  "cover:browser": "npm test -- --coverage-report=lcov",
  "cover:cli": "npm test -- --cov",
  "cover:travis": "npm test -- --coverage-report=lcov --no-browser",
  "test": "tap test/**/*.test.js --reporter spec"
}

note: the generator will not overwrite a test script if it already exists in a package.json file, unless it’s the default echo \"Error: no test specified\" && exit 1 script

installation

npm install -g generator-tap

use

yo tap

license

MIT License

About

yeoman generator that sets up tap, and optionally, sinon, in the target project

Resources

License

Stars

Watchers

Forks

Packages

No packages published