From 07c4656ad32a13cbeee3e83220e3fc7f6140ef4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20K=C3=B6hler?= Date: Tue, 9 Jul 2019 13:41:36 +0200 Subject: [PATCH 1/3] update dependencies --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6d2a361d..d569f4ef 100644 --- a/package.json +++ b/package.json @@ -37,12 +37,12 @@ "url": "https://github.com/creativetimofficial/material-kit/issues" }, "devDependencies": { - "gulp": "^3.9.1", - "gulp-autoprefixer": "^5.0.0", + "gulp": "^4.0.2", + "gulp-autoprefixer": "^6.1.0", "gulp-clean": "^0.4.0", "gulp-install": "^1.1.0", - "gulp-sass": "^4.0.1", - "gulp-sourcemaps": "^2.6.4", + "gulp-sass": "^4.0.2", + "gulp-sourcemaps": "^2.6.5", "gulp-open": "^3.0.1" }, "homepage": "https://demos.creative-tim.com/material-kit/index.html" From 007663dbbf8e646421b8c3053c59320836d837ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20K=C3=B6hler?= Date: Tue, 9 Jul 2019 13:41:57 +0200 Subject: [PATCH 2/3] update gulpfile.js to work with gulp version 4 --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 616a11a0..66030d86 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,7 +23,7 @@ gulp.task('compile-scss', function() { }); gulp.task('watch', function() { - gulp.watch(Paths.SCSS, ['compile-scss']); + gulp.watch(Paths.SCSS, gulp.series('compile-scss')); }); gulp.task('open', function() { @@ -31,4 +31,4 @@ gulp.task('open', function() { .pipe(open()); }); -gulp.task('open-app', ['open', 'watch']); \ No newline at end of file +gulp.task('open-app', gulp.parallel('open', 'watch')); \ No newline at end of file From daa709bb88f8a4ab00b5bd305f3923803ceec9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20K=C3=B6hler?= Date: Tue, 9 Jul 2019 13:42:21 +0200 Subject: [PATCH 3/3] add npm scripts for an easy start --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d569f4ef..a7ab59fc 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,10 @@ "example": "root" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "open-app": "gulp open-app", + "start": "npm run open-app", + "test": "echo \"Error: no test specified\" && exit 1", + "watch": "gulp watch" }, "repository": { "type": "git",