-
Notifications
You must be signed in to change notification settings - Fork 1
/
gulpfile.js
65 lines (56 loc) · 1.23 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* Dependancies
*/
const { series } = require('gulp');
/*
* Config data
*/
const config = require('./utils/gulp/config');
/*
* Task dependancies
*/
const templates = require('./utils/gulp/templates');
const serve = require('./utils/gulp/serve');
const createIndex = require('./utils/gulp/createIndex');
const css = require('./utils/gulp/css');
const js = require('./utils/gulp/js');
const thumbnails = require('./utils/gulp/thumbnails');
const delivery = require('./utils/gulp/delivery');
const assets = require('./utils/gulp/assets');
/*
* Template tasks
*/
exports.createIndex = createIndex.default;
exports.templates = templates.default;
/*
* JS tasks
*/
exports.slideJs = js.slideJs;
exports.libsJs = js.libsJs;
exports.sharedJs = js.sharedJs;
exports.js = js.default;
/*
* CSS tasks
*/
exports.slideCss = css.slideCss;
exports.libsCss = css.libsCss;
exports.sharedCss = css.sharedCss;
exports.css = css.default;
/*
* Generate thumbnails
*/
exports.thumbnails = thumbnails.default;
/*
* Copy assets
*/
exports.assets = assets.default;
/*
* Deliver files
*/
exports.delivery = delivery.default;
exports.clean = delivery.clean;
exports.zip = delivery.zip;
/*
* Watch + serve task
*/
exports.default = serve.default;