|
1 | 1 | const babel = require('gulp-babel'); |
2 | 2 | const chmod = require('gulp-chmod'); |
3 | 3 | const eslint = require('gulp-eslint'); |
4 | | -const ghPages = require('gulp-gh-pages'); |
5 | 4 | const gulp = require('gulp'); |
6 | 5 | const gulpIf = require('gulp-if'); |
7 | | -const sass = require('gulp-sass'); |
8 | | -const watch = require('gulp-watch'); |
9 | | - |
10 | | -gulp.task('deploy', ['build'], function() { |
11 | | - return gulp.src('./docs/**/*') |
12 | | - .pipe(ghPages()); |
13 | | -}); |
14 | 6 |
|
15 | 7 | gulp.task('scripts', () => { |
16 | 8 | gulp.src('./lib/src/**/*.js') |
@@ -44,9 +36,7 @@ gulp.task('lint', () => { |
44 | 36 | .pipe(gulpIf(isFixed, gulp.dest('./lib/'))); |
45 | 37 | }); |
46 | 38 |
|
47 | | -gulp.task('watch', () => { |
48 | | - return gulp.watch('./lib/**/*.js', ['lint', 'scripts']); |
49 | | -}); |
| 39 | +gulp.task('watch', () => gulp.watch('./lib/**/*.js', ['lint', 'scripts'])); |
50 | 40 |
|
51 | 41 | gulp.task('build', ['lint', 'scripts']); |
52 | 42 | gulp.task('default', ['build', 'watch']); |
0 commit comments