-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathgulpfile.mjs
41 lines (34 loc) · 954 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
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
"use strict";
import dotenv from 'dotenv';
dotenv.config();
import gulp from "gulp";
import { clean } from "./gulp/clean.mjs";
import compile from "./gulp/compile.mjs";
import recompile from "./gulp/recompile.mjs";
import lint from "./gulp/lint.mjs";
import { all as testAll, unitTest, componentTest, functionalTest} from "./gulp/test.mjs";
import restore from "./gulp/restore.mjs";
import pack from "./gulp/pack.mjs";
import publish from "./gulp/publish.mjs";
const preparePack = gulp.series(recompile, restore);
const repack = gulp.series(compile, pack);
const ci = gulp.series(recompile, lint, restore, unitTest, pack, functionalTest);
export {
clean,
compile,
recompile,
lint,
testAll as test,
unitTest,
componentTest,
functionalTest,
preparePack,
pack,
repack,
publish,
ci,
recompile as default,
restore,
}