mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Update to gulp-eslint v2
Also update del and lazypipe modules
This commit is contained in:
parent
9bdfacad72
commit
dca0dda6c1
@ -10,8 +10,9 @@
|
||||
"html"
|
||||
],
|
||||
"globals": {
|
||||
"CustomElements": true,
|
||||
"HTMLImports": true,
|
||||
"Polymer": true
|
||||
"CustomElements": false,
|
||||
"HTMLImports": false,
|
||||
"Polymer": false,
|
||||
"WeakMap": false
|
||||
}
|
||||
}
|
||||
|
@ -68,8 +68,8 @@ gulp.task('micro', vulcanizeWithExcludes(micro));
|
||||
gulp.task('mini', vulcanizeWithExcludes(mini, [micro]));
|
||||
gulp.task('max', vulcanizeWithExcludes(max, [mini, micro]));
|
||||
|
||||
gulp.task('clean', function(cb) {
|
||||
del(workdir, cb);
|
||||
gulp.task('clean', function() {
|
||||
return del(workdir);
|
||||
});
|
||||
|
||||
// copy bower.json into dist folder
|
||||
@ -99,8 +99,8 @@ gulp.task('restore-src', function() {
|
||||
.pipe(gulp.dest('.'));
|
||||
});
|
||||
|
||||
gulp.task('cleanup-switch', function(cb) {
|
||||
del([mini + '.bak', micro + '.bak', max + '.bak'], cb);
|
||||
gulp.task('cleanup-switch', function() {
|
||||
return del([mini + '.bak', micro + '.bak', max + '.bak']);
|
||||
});
|
||||
|
||||
gulp.task('switch-build', function() {
|
||||
|
@ -8,15 +8,15 @@
|
||||
"test": "test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"del": "^1.1.1",
|
||||
"del": "^2.2.0",
|
||||
"eslint-plugin-html": "^1.3.0",
|
||||
"gulp": "^3.8.11",
|
||||
"gulp-audit": "^1.0.0",
|
||||
"gulp-eslint": "^1.1.1",
|
||||
"gulp-eslint": "^2.0.0",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-replace": "^0.5.3",
|
||||
"gulp-vulcanize": "^6.0.1",
|
||||
"lazypipe": "^0.2.3",
|
||||
"lazypipe": "^1.0.1",
|
||||
"polyclean": "^1.2.0",
|
||||
"run-sequence": "^1.1.0",
|
||||
"web-component-tester": "^4"
|
||||
|
Loading…
Reference in New Issue
Block a user