-
Notifications
You must be signed in to change notification settings - Fork 3
/
gulpfile.mjs
44 lines (38 loc) · 990 Bytes
/
gulpfile.mjs
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
import gulp from "gulp";
import * as css from "./utils/css.mjs";
import * as javascript from "./utils/javascript.mjs";
import * as lang from "./utils/lang.mjs";
// import * as notes from "./utils/notes.mjs";
import * as docs from "./utils/docs.mjs";
import * as packs from "./utils/packs.mjs";
export default gulp.series(
gulp.parallel(
css.compile,
lang.compile,
javascript.lint,
javascript.compile
),
gulp.parallel(
css.watchUpdates,
lang.watchUpdates,
javascript.watchUpdates
)
);
export const build = gulp.parallel(
css.compile,
lang.compile,
javascript.lint,
javascript.compile,
docs.compile,
packs.compile
);
export const clean = gulp.parallel(
css.clean,
lang.clean,
packs.clean
);
export const compileCss = gulp.series(css.compile);
export const compileLang = gulp.series(lang.compile);
export const compileDocs = gulp.series(docs.compile);
export const compilePacks = gulp.series(packs.compile);
export const lintJs = gulp.series(javascript.lint);