From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/gulp-gzip/gulpfile.js | 40 -------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 node_modules/gulp-gzip/gulpfile.js (limited to 'node_modules/gulp-gzip/gulpfile.js') diff --git a/node_modules/gulp-gzip/gulpfile.js b/node_modules/gulp-gzip/gulpfile.js deleted file mode 100755 index 078cf2ed7..000000000 --- a/node_modules/gulp-gzip/gulpfile.js +++ /dev/null @@ -1,40 +0,0 @@ -var clean = require('gulp-clean'); -var filter = require('gulp-filter'); -var gulp = require('gulp'); -var mocha = require('gulp-mocha'); -var watch = require('gulp-watch'); -var jshint = require('gulp-jshint'); -var stylish = require('jshint-stylish'); - -var root = __dirname; - -gulp.task('clean', function() { - return gulp.src([ - 'examples/*/tmp', - 'test/tmp' - ]).pipe(clean()); -}); - -gulp.task('lint', function() { - return gulp.src([ 'index.js', 'test/test.js', 'lib/*.js' ]) - .pipe(jshint({ expr: true })) - .pipe(jshint.reporter(stylish)); -}); - -gulp.task('test', function() { - // monkeys are fixing `cwd` for `gulp-mocha` - // node lives in one process/scope/directory - process.chdir(root); - - return gulp.src('test/test.js') - .pipe(mocha({ reporter: 'spec', timeout: 1000 })) -}); - -gulp.task('watch', function() { - watch({ - glob: [ 'index.js', 'lib/*.js' , 'test/test.js' ], - read: false - }, ['clean', 'lint', 'test']) -}); - -gulp.task('default', ['watch']); -- cgit v1.2.3