-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
114 lines (109 loc) · 3.81 KB
/
config.yml
File metadata and controls
114 lines (109 loc) · 3.81 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Server will run on localhost:[ PORT ]
PORT: 8000
# PostCSS plugins options
POSTCSS:
# Autoprefixer settings
autoprefix:
browsers:
- "> 5%"
- "last 2 versions"
- "ie >= 9"
- "ios >= 7"
# BEM style settings
bem:
style: suit
separators:
namespace: "_"
descendent: "__"
modifier: "--"
shortcuts:
"component-namespace": namespace
component: block
descendent: elem
modifier: mod
utility: u
# css-relative fonts directory for postcss-font-magician
fonts:
hosted: "../fonts/"
# px-to-rem convertor settings
pxtorem:
rootValue: 16
unitPrecision: 5
propWhiteList:
- font
- font-size
- line-height
- letter-spacing
selectorBlackList: []
replace: true,
mediaQuery: false,
minPixelValue: 0
# UnCSS will use these settings
UNCSS_OPTIONS:
html:
- "src/**/*.html"
ignore:
- !!js/regexp .foundation-mq
- !!js/regexp ^\.is-.*
# Gulp will reference these paths when it copies files
PATHS:
# Path to dist folder
dist: "dist"
# Paths to static assets that aren't images, CSS, or JavaScript
assets:
- "src/assets/**/*"
- "!src/assets/{img,js,scss}/**/*"
# Paths to source HTML pages and components
panini:
root: "src/pages/"
layouts: "src/layouts/"
partials: "src/partials/"
data: "src/data/"
helpers: "src/helpers/"
# Paths to vendor Sass libraries, which can then be loaded with @import
sass:
- "node_modules/foundation-sites/scss/"
- "node_modules/motion-ui/src/"
# Paths to JavaScript libraries, which should be added to the head of html
jslibs:
# Babel libraries
# - "node_modules/babel-polyfill/dist/polyfill.min.js"
# # React libraries
# - "node_modules/react/dist/react-with-addons.min.js"
# - "node_modules/react-dom/dist/react-dom.min.js"
# Webpack
webpack:
- "src/assets/js/*.js"
# Paths to JavaScript libraries, which are compiled into one file
javascript:
# Libraries requried by Foundation
- "node_modules/foundation-sites/node_modules/jquery/dist/jquery.js"
- "node_modules/foundation-sites/node_modules/what-input/dist/what-input.js"
# Core Foundation files
- "node_modules/foundation-sites/js/foundation.core.js"
- "node_modules/foundation-sites/js/foundation.util.*.js"
# Individual Foundation components
# If you aren't using a component, just remove it from the list
- "node_modules/foundation-sites/js/foundation.abide.js"
- "node_modules/foundation-sites/js/foundation.accordion.js"
- "node_modules/foundation-sites/js/foundation.accordionMenu.js"
- "node_modules/foundation-sites/js/foundation.drilldown.js"
- "node_modules/foundation-sites/js/foundation.dropdown.js"
- "node_modules/foundation-sites/js/foundation.dropdownMenu.js"
- "node_modules/foundation-sites/js/foundation.equalizer.js"
- "node_modules/foundation-sites/js/foundation.interchange.js"
- "node_modules/foundation-sites/js/foundation.magellan.js"
- "node_modules/foundation-sites/js/foundation.offcanvas.js"
- "node_modules/foundation-sites/js/foundation.orbit.js"
- "node_modules/foundation-sites/js/foundation.responsiveMenu.js"
- "node_modules/foundation-sites/js/foundation.responsiveToggle.js"
- "node_modules/foundation-sites/js/foundation.reveal.js"
- "node_modules/foundation-sites/js/foundation.slider.js"
- "node_modules/foundation-sites/js/foundation.sticky.js"
- "node_modules/foundation-sites/js/foundation.tabs.js"
- "node_modules/foundation-sites/js/foundation.toggler.js"
- "node_modules/foundation-sites/js/foundation.tooltip.js"
- "node_modules/foundation-sites/js/foundation.zf.responsiveAccordionTabs.js"
# Paths to your own project code are here
- "src/assets/js/!(app).js"
- "src/assets/js/app.js"