Update to gulp-eslint v2

Also update del and lazypipe modules
This commit is contained in:
Daniel Freedman 2016-02-16 10:30:20 -08:00
parent 9bdfacad72
commit dca0dda6c1
3 changed files with 11 additions and 10 deletions

View File

@ -10,8 +10,9 @@
"html" "html"
], ],
"globals": { "globals": {
"CustomElements": true, "CustomElements": false,
"HTMLImports": true, "HTMLImports": false,
"Polymer": true "Polymer": false,
"WeakMap": false
} }
} }

View File

@ -68,8 +68,8 @@ gulp.task('micro', vulcanizeWithExcludes(micro));
gulp.task('mini', vulcanizeWithExcludes(mini, [micro])); gulp.task('mini', vulcanizeWithExcludes(mini, [micro]));
gulp.task('max', vulcanizeWithExcludes(max, [mini, micro])); gulp.task('max', vulcanizeWithExcludes(max, [mini, micro]));
gulp.task('clean', function(cb) { gulp.task('clean', function() {
del(workdir, cb); return del(workdir);
}); });
// copy bower.json into dist folder // copy bower.json into dist folder
@ -99,8 +99,8 @@ gulp.task('restore-src', function() {
.pipe(gulp.dest('.')); .pipe(gulp.dest('.'));
}); });
gulp.task('cleanup-switch', function(cb) { gulp.task('cleanup-switch', function() {
del([mini + '.bak', micro + '.bak', max + '.bak'], cb); return del([mini + '.bak', micro + '.bak', max + '.bak']);
}); });
gulp.task('switch-build', function() { gulp.task('switch-build', function() {

View File

@ -8,15 +8,15 @@
"test": "test" "test": "test"
}, },
"devDependencies": { "devDependencies": {
"del": "^1.1.1", "del": "^2.2.0",
"eslint-plugin-html": "^1.3.0", "eslint-plugin-html": "^1.3.0",
"gulp": "^3.8.11", "gulp": "^3.8.11",
"gulp-audit": "^1.0.0", "gulp-audit": "^1.0.0",
"gulp-eslint": "^1.1.1", "gulp-eslint": "^2.0.0",
"gulp-rename": "^1.2.2", "gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.3", "gulp-replace": "^0.5.3",
"gulp-vulcanize": "^6.0.1", "gulp-vulcanize": "^6.0.1",
"lazypipe": "^0.2.3", "lazypipe": "^1.0.1",
"polyclean": "^1.2.0", "polyclean": "^1.2.0",
"run-sequence": "^1.1.0", "run-sequence": "^1.1.0",
"web-component-tester": "^4" "web-component-tester": "^4"