Broccoli plugin for Istanbul instrumentation
Based on broccoli-sass.
npm install --save-dev broccoli-istanbul
var IstanbulCompiler = require('broccoli-istanbul');
var outputTree = IstanbulCompiler(inputTrees, inputFile, outputFile, options);
-
inputTrees
: An array of trees that act as the include paths for Istanbul. -
inputFile
: Relative path of the main.js
file to instrument. Broccoli-Istanbul expects to find this file in the first input tree (inputTrees[0]
). -
outputFile
: Relative path of the output file. -
options
: A hash of options for Istanbul. See project website for more information.
var appJs = IstanbulCompiler(['src'], 'app/test.js', 'assets/test.js');
##Third-party libraries
The following third-party libraries are used by this module:
###Dependencies
- broccoli-caching-writer: https://github.com/rjackson/broccoli-caching-writer
- istanbul: https://github.com/gotwarlost/istanbul
- mkdirp: https://github.com/substack/node-mkdirp
- promise: https://github.com/then/promise
###Dev-Dependencies
- codeclimate-test-reporter: https://github.com/codeclimate/javascript-test-reporter
- coveralls: https://github.com/cainus/node-coveralls
- chai: http://chaijs.com
- mocha: https://github.com/visionmedia/mocha
##License
The MIT License
Copyright 2015 Marcel Erz