-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.babel.js
70 lines (53 loc) · 1.48 KB
/
gulpfile.babel.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* GULP ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
import { series, parallel } from 'gulp';
/* TASKS ━━━━━━━━━━━━━━ private ━━━━━━━━━━━━━━ */
import watch from './settings/gulp/watch';
import clean from './settings/gulp/clean';
import logic from './settings/gulp/logic';
import notify from './settings/gulp/notify';
import styles from './settings/gulp/styles';
import collect from './settings/gulp/collect';
import imgLink from './settings/gulp/img-link';
import templates from './settings/gulp/templates';
import imgSprite from './settings/gulp/img-sprite';
import { host } from './settings/gulp/servers';
/* TASKS ━━━━━━━━━━━━━━━ public ━━━━━━━━━━━━━━ */
export const develop = series(
clean,
collect,
parallel(
templates,
styles,
imgLink,
imgSprite,
logic,
), host, notify, watch
);
export const build = series(
clean,
collect,
parallel(
templates,
styles,
imgLink,
imgSprite,
logic,
), notify
);
export const preflight = series(
clean,
collect,
parallel(
templates,
styles,
imgLink,
imgSprite,
logic,
), host, notify
);
export const serve = preflight;
export const deploy = series(
build,
);
// default task
export default develop;