Socket
Book a DemoInstallSign in
Socket

generator-tap

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-tap

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

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

tap

FAQs

Package last updated on 05 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts