gulp-instrument

0.1.0 • Public • Published

gulp-instrument

Build Status NPM version Dependency Status

Gulp plugin for instrumenting code using jscoverage (or other instrumentation engine).

Install

npm install --save gulp-instrument

Usage

In your gulpfile.js:

var gulp = require('gulp')
  , instrument = require('gulp-instrument');
 
gulp.task('instrument', function() {
  return gulp.src('lib/**.js')
    .pipe(instrument())
    .pipe(gulp.dest('lib-cov'));
});

Instrumentation engine

Currently only jscoverage is supported, but support for other engines could be added easily if somebody would like to contribute.

BSD Licensed

Package Sidebar

Install

npm i gulp-instrument

Weekly Downloads

12

Version

0.1.0

License

BSD

Last publish

Collaborators

  • amingoia