0.1.0 • Published 10 years ago

gulp-instrument v0.1.0

Weekly downloads
2
License
BSD
Repository
github
Last release
10 years ago

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