Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

grunt-jscover

0.0.1 • Public • Published

grunt-jscover

Grunt task for jscover; which will parse your source code and generate an instrumented version allowing testing tools to generate code coverage reports.

This is a fork of grunt-jscoverage which uses JSCover instead of node-jscoverage.

Installation

Install npm package

npm install grunt-jscover --save-dev

Add this line to your project's Gruntfile.js:

grunt.loadNpmTasks("grunt-jscover");

Usage

note: this task will delete the contents of the output-directory; if one exists; before attempting to parse source.

grunt.initConfig({
  jscoverage: {
    options: {
      inputDirectory: 'lib',
      outputDirectory: 'lib-cov'
    }
  }
});

Run

grunt jscover

Keywords

none

install

npm i grunt-jscover

Downloadsweekly downloads

73

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability