gulp-instrument
0.1.0 • Public • Published gulp-instrument
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
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.0
8
Version History
- VersionDownloads (Last 7 Days)
- 0.1.0
8
Package Sidebar
Install
Weekly Downloads