This repository was archived by the owner on Feb 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgulpfile.default.yml
193 lines (193 loc) · 4.38 KB
/
gulpfile.default.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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
---
css:
enabled: false
src:
- scss/main.scss
dest: dist/
extraWatches:
- scss/**/*.scss
flattenDestOutput: true
lint:
enabled: true
failOnError: true
extraSrc:
- scss/**/*.scss
csscombx:
enabled: false
extraSrc:
- scss/**/*.scss
sourceComments: false
sourceMap:
enabled: false
sourceMapEmbed: false
outputStyle: expanded
autoPrefixerBrowsers:
- last 3 versions
- IE >= 10
includePaths:
- './node_modules'
sassdoc:
enabled: false
dest: dist/sassdoc
verbose: false
basePath: ''
exclude: []
theme: default
sort:
- file
- group
- line>
js:
enabled: false
src:
- js/**/*.js
dest: dist/
destName: main.min.js # only if concat is true
sourceMap:
enabled: false
sourceMapEmbed: false
concat: false
uglify: false
babel: true
bundleBower: false
bundleBowerExclusions: []
bowerBasePath: './'
eslint:
enabled: true
src:
- js/**/*.js
webpack:
enabled: false
config: ./webpack.config.js
eslint:
enabled: false
src:
- js/**/*.js
icons:
enabled: false
src: images/icons/*.svg
dest: fonts/
fontPathPrefix: '../fonts/'
iconName: 'icons'
classNamePrefix: icon
autohint: false
normalize: true
useTimestamp: false
templates:
enabled: true
css:
src: node_modules/gulp-drupal-stack/templates/_icons.scss
dest: scss/base/
# demo:
# src: templates/component/_icons.twig.tpl
# dest: templates/component/
formats:
- ttf
- eot
- woff
- svg
sprite:
enabled: false
src:
- images/sprite/*.png
imgDest: dist/
cssDest: scss/base/
imgName: sprite.png
cssName: _sprite.scss
imgPathPrefix: ../dist/
spritesheetName: sprite
imagemin: true
retina:
enabled: false
imgName: [email protected]
filter:
- images/sprite/*@2x.png
patternLab:
enabled: false
configFile: pattern-lab/config/config.yml
watchedExtensions:
- twig
- json
- yaml
- yml
- md
- jpg
- jpeg
- png
extraWatches: []
injectFiles: []
bowerBasePath: ./
twigNamespaces:
addToDrupalThemeFile: true
sets:
- namespace: base
paths:
- 'source/_patterns/00-base'
- namespace: atoms
paths:
- 'source/_patterns/01-atoms'
- namespace: molecules
paths:
- 'source/_patterns/02-molecules'
- namespace: organisms
paths:
- 'source/_patterns/03-organisms'
- namespace: templates
paths:
- 'source/_patterns/04-templates'
- namespace: pages
paths:
- 'source/_patterns/05-pages'
scssToJson: []
# - src: 'source/_patterns/00-base/05-colors/_color-vars.scss'
# dest: 'source/_patterns/00-base/05-colors/colors.json'
# lineStartsWith: '$c-'
# allowVarValues: false
# - src: 'source/_patterns/00-base/15-typography/fonts/_fonts.scss'
# dest: 'source/_patterns/00-base/15-typography/fonts/font-sizes.json'
# lineStartsWith: '$fs--'
# allowVarValues: false
# - src: 'source/_patterns/00-base/15-typography/fonts/_fonts.scss'
# dest: 'source/_patterns/00-base/15-typography/fonts/font-families.json'
# lineStartsWith: '$ff--'
# allowVarValues: false
# - src: 'source/_patterns/00-base/breakpoints/_breakpoints.scss'
# dest: 'source/_patterns/00-base/breakpoints/breakpoints.json'
# lineStartsWith: '$bp--'
# allowVarValues: false
# - src: 'source/_patterns/00-base/10-spacing/_spacing.scss'
# dest: 'source/_patterns/00-base/10-spacing/spacing.json'
# lineStartsWith: '$spacing--'
# allowVarValues: false
# - src: 'source/_patterns/00-base/animations/01-transitions/_transitions.scss'
# dest: 'source/_patterns/00-base/animations/01-transitions/transitions.json'
# lineStartsWith: '$trans-'
# allowVarValues: true
browserSync:
enabled: false
port: 3050
watchFiles: []
baseDir: './'
startPath: pattern-lab/public/
openBrowserAtStart: false
browser:
- Google Chrome
tunnel: false
reloadDelay: 50
reloadDebounce: 750
rewriteRules: []
drupal:
enabled: false
themeFile: patternlab.info.yml
watch:
- "*.theme"
- templates/**
command: drush cr
dir: './'
copy:
enabled: false
# files:
# - src: "node_modules/lodash/dist/*.js"
# dest: "dist/"
# concat: true
# destName: "lodash.js"