2020-09-04 18:02:20 +00:00
|
|
|
const gulp = require('gulp');
|
2021-01-04 17:58:58 +00:00
|
|
|
const bump = require('gulp-bump');
|
2020-09-04 18:02:20 +00:00
|
|
|
|
2020-09-25 02:29:03 +00:00
|
|
|
gulp.task('update-vendor', require('./gulp/update-vendor'));
|
2021-01-04 17:58:58 +00:00
|
|
|
gulp.task('publish-frontend', require('./gulp/publish-frontend'));
|
|
|
|
|
|
|
|
gulp.task('bump_patch', () => gulp.src('./package.json')
|
|
|
|
.pipe(bump())
|
|
|
|
.pipe(gulp.dest('./')));
|
|
|
|
|
|
|
|
gulp.task('bump_minor', () => gulp.src('./package.json')
|
|
|
|
.pipe(bump({ type: 'minor' }))
|
|
|
|
.pipe(gulp.dest('./')));
|
|
|
|
|
|
|
|
gulp.task('bump_major', () => gulp.src('./package.json')
|
|
|
|
.pipe(bump({ type: 'major' }))
|
|
|
|
.pipe(gulp.dest('./')));
|