Skip to content

ablage-zz/broccoli-istanbul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Broccoli-Istanbul

Broccoli plugin for Istanbul instrumentation

Build Status Coveralls Coverage Code Climate Grade

NPM version NPM License

NPM NPM

Coverage Report

Based on broccoli-sass.

Installation

npm install --save-dev broccoli-istanbul

Usage

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.

Example

var appJs = IstanbulCompiler(['src'], 'app/test.js', 'assets/test.js');

##Third-party libraries

The following third-party libraries are used by this module:

###Dependencies

###Dev-Dependencies

##License

The MIT License

Copyright 2015 Marcel Erz

About

Broccoli plugin for Istanbul instrumentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published