Skip to content

Commit

Permalink
Remove isparta; switch to gulp-babel-istanbul
Browse files Browse the repository at this point in the history
Resolves #330
  • Loading branch information
jamesplease committed May 11, 2016
1 parent 436c4f5 commit a16eaaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions app/templates/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import loadPlugins from 'gulp-load-plugins';
import del from 'del';
import glob from 'glob';
import path from 'path';
import {Instrumenter} from 'isparta';
import webpack from 'webpack';
import webpackStream from 'webpack-stream';
import source from 'vinyl-source-stream';
Expand Down Expand Up @@ -109,11 +108,11 @@ function test() {
function coverage(done) {
_registerBabel();
gulp.src(['src/**/*.js'])
.pipe($.istanbul({ instrumenter: Instrumenter }))
.pipe($.istanbul.hookRequire())
.pipe($.babelIstanbul())
.pipe($.babelIstanbul.hookRequire())
.on('finish', () => {
return test()
.pipe($.istanbul.writeReports())
.pipe($.babelIstanbul.writeReports())
.on('end', done);
});
}
Expand Down
3 changes: 1 addition & 2 deletions app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"glob": "^6.0.3",
"gulp": "^3.9.0",
"gulp-babel": "^6.1.1",
"gulp-babel-istanbul": "^1.1.0",
"gulp-eslint": "^2.0.0",
"gulp-filter": "^3.0.0",
"gulp-istanbul": "^0.10.3",
"gulp-livereload": "^3.8.1",
"gulp-load-plugins": "^1.1.0",
"gulp-mocha": "^2.2.0",
Expand All @@ -45,7 +45,6 @@
"gulp-sourcemaps": "^1.6.0",
"gulp-uglify": "^1.5.1",
"gulp-util": "^3.0.7",
"isparta": "^4.0.0",
"json-loader": "^0.5.3",
"mocha": "^2.3.4",
"sinon": "^1.17.2",
Expand Down

0 comments on commit a16eaaa

Please sign in to comment.