-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.yml
75 lines (63 loc) · 2.39 KB
/
config.yml
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
71
72
73
74
75
# Config in en_SC
# "Hello, computer."
# Your project's server will run on localhost:xxxxx at this port
# If it's already runnning (i.e. Apache via MAMP), use proxy instead
HOST: "nginx"
PORT: 8020
PROXY: "https://nginx"
# Autoprefixer will make sure ye CSS works wi these browsers it will
COMPATIBILITY:
- "last 2 versions"
- "ie >= 9"
- "ios >= 7"
- "Android >= 2.3"
# Gulp will reference these paths when it copies files
PATHS:
# Path tae dist folder
dist: "library/dist"
# Paths tae the font files tae be hard-copied tae dist
staticfonts:
- "library/src/webfonts/*"
- "node_modules/slick-carousel/slick/fonts/*"
- "node_modules/@fortawesome/fontawesome-free/webfonts/*"
# Paths tae any build tae be hard-copied tae dist (for individual enqueue in styles.php)
# remove here an in gulpfile.babel.js, styles.php an then
# uncomment in sass: below tae parse in sass task
# uncomment in inti.scss to @import
staticcss:
- "node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css"
- "node_modules/@fortawesome/fontawesome-free/css/regular.min.css"
- "node_modules/@fortawesome/fontawesome-free/css/solid.min.css"
- "node_modules/@fortawesome/fontawesome-free/css/brands.min.css"
- "node_modules/@fortawesome/fontawesome-free/css/v5-font-face.min.css"
- "node_modules/slick-carousel/slick/slick.css"
# Paths tae Sass libraries, which can then be loaded wi @import
sass:
- "node_modules/foundation-sites/scss"
- "node_modules/motion-ui/src"
- "library/src/scss/**/*.scss"
- "node_modules/toastr/build/*.scss"
# - "node_modules/slick-carousel/slick/slick.scss"
- "library/src/**/*.scss"
# Path tae Sass for the wp_editor/tinymce, added in functions.php
# TODO: Make Sass above ignore this one file
editorsass:
- "library/src/editor.scss"
# "The keyboard...How quaint...."
foundationjs:
- "library/src/js/inti.js"
# Paths tae individual vendor JS, nae tae be cominbed for wp_register_script()
vendorjs:
- "node_modules/toastr/build/toastr.min.js"
# Paths for the package task tae include/exclude in .zip archive, captain
package:
- "**/*"
- "!**/node_modules/**"
- "!**/packaged/**"
- "!**/library/src/**"
- "!**/bower.json"
- "!**/gulpfile.babel.js"
- "!**/package.json"
- "!**/package-lock.json"
- "!**/config.yml"
# "She canna take any more, captain. She's gonna blow!"