-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgulpfile.js
More file actions
25 lines (19 loc) · 861 Bytes
/
gulpfile.js
File metadata and controls
25 lines (19 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'use strict';
const gulp = require('gulp');
const clean = require('./gulp-tasks/clean');
const build = require('./gulp-tasks/build');
const jsdoc = require('./gulp-tasks/jsdoc');
const test = require('./gulp-tasks/test');
gulp.task('build:modules:sass', build.modules.sass);
gulp.task('build:modules:scripts', build.modules.scripts);
gulp.task('build:modules', gulp.parallel(gulp.task('build:modules:sass'), gulp.task('build:modules:scripts')));
// TODO: Consider removing build:modules:sass dependency
gulp.task('build:bundle', gulp.series('build:modules:sass', build.bundle));
gulp.task('build', gulp.parallel(gulp.task('build:modules'), gulp.task('build:bundle')));
gulp.task('clean', clean);
gulp.task('jsdoc', jsdoc);
gulp.task('test:unit', test.unit);
gulp.task('test', gulp.task('test:unit'));
process.once('SIGINT', () => {
process.exit(0);
});