New gulp version

This commit is contained in:
Ruben van de Ven 2019-02-18 11:55:12 +01:00
parent afda2387ce
commit a4a4a5763e
2 changed files with 12 additions and 11 deletions

View file

@ -82,10 +82,10 @@ gulp.task('jsonld', function(){
}); });
var watchStylesAndScripts = function() { var watchStylesAndScripts = function() {
gulp.watch(paths.styles.src,['styles']); gulp.watch(paths.styles.src, gulp.series('styles'));
gulp.watch(paths.scripts.src,['scripts', browserSync.reload]); gulp.watch(paths.scripts.src,gulp.series('scripts', browserSync.reload));
gulp.watch(paths.scripts.d3src,['d3', browserSync.reload]); gulp.watch(paths.scripts.d3src,gulp.series('d3', browserSync.reload));
gulp.watch([paths.data.src], ['jsonld', browserSync.reload]); gulp.watch([paths.data.src], gulp.series('jsonld', browserSync.reload));
} }
gulp.task('watch', watchStylesAndScripts); gulp.task('watch', watchStylesAndScripts);

View file

@ -11,13 +11,13 @@
"devDependencies": { "devDependencies": {
"babel-core": "^6.26.3", "babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0", "babel-preset-env": "^1.7.0",
"browser-sync": "^2.24.6", "browser-sync": "^2.26.3",
"gulp": "^3.9.1", "gulp": "^4.0",
"gulp-babel": "^7.0.1", "gulp-babel": "^7.0.1",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
"gulp-rename": "^1.4.0", "gulp-rename": "^1.4.0",
"gulp-rollup": "^2.16.2", "gulp-rollup": "^2.16.2",
"gulp-sass": "^4.0.1", "gulp-sass": "^4.0.2",
"gulp-sourcemaps": "^2.6.4", "gulp-sourcemaps": "^2.6.4",
"gulp-uglify": "^3.0.1", "gulp-uglify": "^3.0.1",
"rollup-stream": "^1.24.1", "rollup-stream": "^1.24.1",
@ -29,10 +29,11 @@
"d3-dispatch": "^1.0.5", "d3-dispatch": "^1.0.5",
"d3-drag": "^1.2.3", "d3-drag": "^1.2.3",
"d3-ease": "^1.0.5", "d3-ease": "^1.0.5",
"d3-force": "^1.1.2", "d3-force": "^1.2.0",
"d3-selection": "^1.3.2", "d3-selection": "^1.4.0",
"d3-transition": "^1.1.3", "d3-transition": "^1.2.0",
"d3-zoom": "^1.7.3", "d3-zoom": "^1.7.3",
"jsonld": "^1.0.4" "jsonld": "^1.5.1",
"textures": "^1.2.0"
} }
} }