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 diff --git a/package.json b/package.json index 9c665f28..99510880 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", @@ -37,12 +40,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"