From 5138a3965d6f35b8dd5b3ff43bca14392c0a90f4 Mon Sep 17 00:00:00 2001 From: "Fedor A. Fetisov" Date: Sat, 30 Jan 2021 00:02:21 +0300 Subject: [PATCH] Switch go Gulp 4 for builds --- gulpfile.js | 6 ++---- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5fd6bc9..793678d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -16,14 +16,12 @@ gulp.task('prepare-release', function() { .pipe(tar('button-refresh-plugin-' + version + '.tar')) .pipe(gzip()) ) - .pipe(chmod(644)) + .pipe(chmod(0644)) .pipe(gulp.dest('release')); }); // Builds and packs plugins sources -gulp.task('default', ['prepare-release'], function() { - // The "default" task is just an alias for "prepare-release" task. -}); +gulp.task('default', gulp.series('prepare-release')); /** * Returns files stream with the plugin sources. diff --git a/package.json b/package.json index e4f1477..3e18a33 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "url": "https://github.com/mibew/button-refresh-plugin/issues" }, "devDependencies": { - "gulp": "~3.8.10", + "gulp": "~4.0.0", "event-stream": "~3.1.7", "gulp-zip": "~2.0.2", - "gulp-tar": "~1.3.0", + "gulp-tar": "~3.1.0", "gulp-gzip": "~0.0.8", - "gulp-chmod": "~1.2.0", + "gulp-chmod": "~3.0.0", "gulp-rename": "~1.2.0" } -} \ No newline at end of file +}