-
Notifications
You must be signed in to change notification settings - Fork 3
/
gulpfile.js
executable file
·60 lines (51 loc) · 1.54 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
/*
* * * * * ==============================
* * * * * ==============================
* * * * * ==============================
* * * * * ==============================
========================================
========================================
========================================
----------------------------------------
USWDS SASS GULPFILE
----------------------------------------
*/
const uswds = require("@uswds/compile");
/*
----------------------------------------
PATHS
----------------------------------------
- All paths are relative to the
project root
- Don't use a trailing `/` for path
names
----------------------------------------
*/
// Project Sass source directory
uswds.paths.dist.theme = './_sass';
// Images destination
uswds.paths.dist.img = './assets/uswds/img';
// Fonts destination
uswds.paths.dist.fonts = './assets/uswds/fonts';
// Javascript destination
uswds.paths.dist.js = './assets/uswds/js';
// Compiled CSS destination
uswds.paths.dist.css = './assets/uswds/css';
/*
----------------------------------------
TASKS
----------------------------------------
*/
exports.compile = uswds.compile;
exports.compileIcons = uswds.compileIcons;
exports.compileSass = uswds.compileSass;
exports.copyAll = uswds.copyAll;
exports.copyAssets = uswds.copyAssets;
exports.copyFonts = uswds.copyFonts;
exports.copyImages = uswds.copyImages;
exports.copyJS = uswds.copyJS;
exports.copyTheme = uswds.copyTheme;
exports.default = uswds.watch;
exports.init = uswds.init;
exports.updateUswds = uswds.updateUswds;
exports.watch = uswds.watch;