diff --git a/.eslintrc.json b/.eslintrc.json index f9b5e8b..8c19f78 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,6 +5,9 @@ "node": true, "es6": true }, + "parserOptions": { + "ecmaVersion": 8 + }, "plugins": [ "html" ], diff --git a/font-icons.html b/font-icons.html index e4f9b52..3d23596 100644 --- a/font-icons.html +++ b/font-icons.html @@ -6,7 +6,7 @@ `; - fs.writeFile('font-icons.html', output, function(err) { - if (err) { - return console.error(err); - } - }); - - // Cleanup - fs.unlink('lumo-icons.woff'); + fs.writeFile('font-icons.html', output, function(err) { + if (err) { + return console.error(err); + } + }); + + // Cleanup + fs.unlink('lumo-icons.woff', function(err) { + if (err) { + return console.error(err); + } }); }); }); }); + +gulp.task('lint', gulp.parallel('lint:js', gulp.series('lint:html', 'lint:css'))); diff --git a/iconset.html b/iconset.html index 85b256d..343b6de 100644 --- a/iconset.html +++ b/iconset.html @@ -27,8 +27,8 @@ - + diff --git a/package.json b/package.json index e405538..dd4f94b 100644 --- a/package.json +++ b/package.json @@ -31,9 +31,9 @@ "preversion": "gulp version:update" }, "devDependencies": { - "@vaadin/vaadin-component-dev-dependencies": "^1.0.0", - "gulp-iconfont": "^9.1.0", - "gulp-svgmin": "^1.2.4", - "svgicons2svgfont": "^9.0.2" + "@vaadin/vaadin-component-dev-dependencies": "^2.0.0", + "gulp-iconfont": "^10.0.3", + "gulp-sort": "^2.0.0", + "gulp-svgmin": "^1.2.4" } }