-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins-config.json
executable file
·124 lines (108 loc) · 3.36 KB
/
plugins-config.json
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
{
// You can find docs for this file here: ./docs/en|ru/plugins-options.md
"autoprefixerConfig": ["> 1%", "last 2 versions", "Firefox ESR", "android 4"],
"browserSync": {
"startPath": "/index.html",
"server": {
"baseDir": "./dev"
},
"port": 3004,
"open": true,
"notify": true,
// Choose browser to open
// @type {String|Array}
// Example: ['google chrome', 'firefox']
// Avalible: safari, internet explorer, google chrome, firefox, opera
"browser": "default",
"injectChanges": false
},
"gulp-sass": {
"outputStyle": "expanded",
"includePaths": [
"./",
"./markup/",
"./node_modules/",
"./bower_components/"
]
},
"gulp-less": {
"paths": [
"./",
"./markup/",
"./node_modules/",
"./bower_components/"
]
},
"gulp-stylus": {
"resolve url": true,
"include css": true,
"include": [
"./",
"./markup/",
"./node_modules/",
"./bower_components/"
]
},
// helpers option is set in make-sprite-for-svg.
// It is strongly recommended to not override it!
"gulp-compile-handlebars": {
"batch": ["./markup/insert(tars.config.fs.componentsFolderName)"]
},
// locals option is set in ./tars.js
"gulp-pug": {
"pretty": true,
"basedir": "markup/insert(tars.config.fs.componentsFolderName)"
},
// locals option is set in ./tars.js
"gulp-jade": {
"pretty": true,
"basedir": "markup/insert(tars.config.fs.componentsFolderName)"
},
"gulp-csso": {
"restructure": true
},
// cssPathSvg, templateSrc, templateDest and imgName is set in make-sprite-for-svg.
// It is strongly recommended to not override these options!
"gulp-svg-spritesheet": {
"padding": 4
},
"gulp.spritesmith": {
// Config for spritesmith in task make-fallback-for-svg
// imgName, cssName, cssTemplate is set in task.
// It is strongly recommended to not override these options!
"svg-fallback": {
"algorithm": "binary-tree",
"padding": 4
},
// Config for spritesmith in task make-sprite
// imgName, cssName, cssTemplate is set in task.
// It is strongly recommended to not override these options!
"regular-raster-sprite": {
"algorithm": "binary-tree",
"padding": 4
}
},
// This config can be overrided by user-tasks/html/helpers/modify-options
"gulp-htmlmin": {
"minifyCSS": true,
"minifyJS": true,
"collapseWhitespace": true,
"conservativeCollapse": true,
"collapseInlineTagWhitespace": true,
"removeRedundantAttributes": true,
"removeStyleLinkTypeAttributes": true
},
// This config can be overrided by user-tasks/html/helpers/modify-options
"gulp-html-prettify": {
"indent_char": " ",
"indent_size": 4,
"indent_inner_html": true
},
"gulp-uglify": {
"mangle": false,
"compress": {
"drop_console": "insert(tars.config.js.removeConsoleLog)",
"drop_debugger": "insert(tars.config.js.removeConsoleLog)"
}
}
}