Skip to content

Commit

Permalink
Update to gulp v4. (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkemp committed Oct 31, 2018
1 parent 252d34e commit 23e3143
Show file tree
Hide file tree
Showing 5 changed files with 1,669 additions and 858 deletions.
13 changes: 6 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

var gulp = require('gulp'),
mocha = require('gulp-mocha'),
eslint = require('gulp-eslint');

var paths = {
scripts: ['./*.js', './lib/*.js', '!./gulpfile.js']
};
eslint = require('gulp-eslint'),
paths = {
scripts: ['./*.js', './lib/*.js', '!./gulpfile.js']
};

gulp.task('lint', function () {
return gulp.src(paths.scripts)
Expand All @@ -22,7 +21,7 @@ gulp.task('test', function () {
});

gulp.task('watch', function () {
gulp.watch(paths.scripts, ['lint', 'test']);
gulp.watch(paths.scripts, gulp.parallel('lint', 'test'));
});

gulp.task('default', ['lint', 'test', 'watch']);
gulp.task('default', gulp.parallel('lint', 'test', 'watch'));

0 comments on commit 23e3143

Please sign in to comment.