generator-tap

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i generator-tap

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • dentous