-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
45 lines (35 loc) · 1 KB
/
gulpfile.js
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
var gulp = require('gulp');
gulp.task('get-tsds', function (callback) {
require('./gulp_tasks/gettsds')(callback);
});
gulp.task('client-dependencies', function () {
require('./gulp_tasks/clientdependencies')();
});
gulp.task('compile-ts', function () {
require('./gulp_tasks/compilets')();
});
gulp.task('compile-sass', function () {
require('./gulp_tasks/compilesass')();
});
gulp.task('build-sandbox', function () {
require('./gulp_tasks/buildsandbox')();
});
gulp.task('build-dist', ['compile-ts', 'compile-sass'], function () {
require('./gulp_tasks/builddist')();
});
gulp.task('watch-ts', ['compile-ts'], function () {
gulp.watch('src/**/*.ts', ['compile-ts']);
});
gulp.task('serve', ['compile-ts', 'compile-sass'], function () {
require('./gulp_tasks/serve')();
});
gulp.task('serve-dist', ['build-dist'], function () {
require('./gulp_tasks/servedist')();
});
gulp.task('default', function () {
require('run-sequence')('get-tsds', [
'client-dependencies',
'compile-ts',
'compile-sass'
]);
});