grunt-mocha-istanbul
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name" : "grunt-mocha-istanbul", | ||
"version" : "3.0.0", | ||
"version" : "3.0.1", | ||
"description" : "Almost config-free Istanbul code coverage reporter for Mocha usage in Grunt", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
@@ -22,7 +22,7 @@ [![Dependency Status](https://david-dm.org/pocesar/grunt-mocha-istanbul.png?theme=shields.io)](https://david-dm.org/pocesar/grunt-mocha-istanbul) | ||
Peer dependencies for `mocha` and `istanbul` have been removed. You should `npm install` the following modules yourself: | ||
- `mocha` | ||
- `istanbul` (or a compatible module; see `scriptPath` usage below) | ||
If using `npm` version < 3, you will need to install `grunt` as well. | ||
If using `npm` version < 3, you will need to install `grunt` as well. | ||
@@ -42,3 +42,25 @@ Changes from 1.x | ||
Compatible tools | ||
============== | ||
Although it's intended for use with [Istanbul](https://github.com/gotwarlost/istanbul), you can freely | ||
use this task with other command line compatible tool, by changing the `scriptPath` option, such as: | ||
* [Ibrik](https://github.com/Constellation/ibrik) | ||
* [Babel Istanbul](https://github.com/ambitioninc/babel-istanbul) | ||
* [Isparta](https://github.com/douglasduteil/isparta) | ||
```js | ||
grunt.initConfig({ | ||
mocha_istanbul: { | ||
target: { | ||
options: { | ||
scriptPath: require.resolve('coverage-tool/the/path/to/bin') | ||
} | ||
} | ||
} | ||
}); | ||
``` | ||
Options | ||
@@ -45,0 +67,0 @@ ============== |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21741
258