diff --git a/gulpfile.js b/gulpfile.js index 45fe823..8cd4246 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -16,14 +16,12 @@ gulp.task('prepare-release', function() { .pipe(tar('first-message-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 d26a42b..209cdde 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "version": "1.0.1", "devDependencies": { - "gulp": "~3.9.0", + "gulp": "~4.0.0", "event-stream": "3.3.4", "gulp-zip": "~3.0.2", - "gulp-tar": "~1.4.0", + "gulp-tar": "~3.1.0", "gulp-gzip": "~1.1.0", - "gulp-chmod": "~1.2.0", + "gulp-chmod": "~3.0.0", "gulp-rename": "~1.2.2" } -} \ No newline at end of file +}