forked from coveo/search-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
42 lines (38 loc) · 1.87 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
const { parallel, series } = require('gulp');
const { buildLegacy } = require('./gulpTasks/legacy');
const { doc } = require('./gulpTasks/doc');
const { linkGitHooks } = require('./gulpTasks/linkGitHooks');
const { setNodeProdEnv } = require('./gulpTasks/nodeEnv');
const { fileTypes } = require('./gulpTasks/filetypes');
const { iconList } = require('./gulpTasks/iconList');
const { buildStrings, testString } = require('./gulpTasks/strings');
const { setup } = require('./gulpTasks/setup');
const { templates } = require('./gulpTasks/templates');
const { compile, compileTSOnly, minimize, analyze } = require('./gulpTasks/compile');
const { definitions, validateDefs } = require('./gulpTasks/definition');
const { dev, devTest, devAccessibilityTest } = require('./gulpTasks/dev');
const { zipForGitReleases, zipForVeracode } = require('./gulpTasks/zip');
const { coverage, uploadCoverage, unitTests, accessibilityTests } = require('./gulpTasks/test');
const { docsitemap } = require('./gulpTasks/docsitemap');
const { injectTag } = require('./gulpTasks/injectTag');
const src = series(compile, definitions);
const build = series(parallel(linkGitHooks, setNodeProdEnv), parallel(fileTypes, iconList, setup, templates), buildStrings, src);
const defaultTask = parallel(buildLegacy, build, doc);
exports.default = defaultTask;
exports.compileTSOnly = compileTSOnly;
exports.minimize = minimize;
exports.analyze = analyze;
exports.validateDefs = validateDefs;
exports.dev = dev;
exports.devTest = devTest;
exports.devAccessibilityTest = devAccessibilityTest;
exports.zipForGitReleases = zipForGitReleases;
exports.zipForVeracode = zipForVeracode;
exports.coverage = coverage;
exports.uploadCoverage = uploadCoverage;
exports.docsitemap = docsitemap;
exports.doc = doc;
exports.injectTag = injectTag;
exports.testString = testString;
exports.unitTests = unitTests;
exports.accessibilityTests = accessibilityTests;