-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpconfig.js
68 lines (66 loc) · 1.55 KB
/
gulpconfig.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
61
62
63
64
65
66
67
68
module.exports = function () {
var resources = 'src/';
var bowerPath = 'bower_components/';
var scssPath = resources + 'StyleSheets/';
var javascriptPath = resources + 'JavaScripts/';
var buildPath = 'web/typo3conf/ext/siteconfig/Resources/Public/';
var typo3Vendor = 'vendor/bin/';
config = {
"js": {
"src": [
javascriptPath + '*.js'
],
"watch": [
javascriptPath + '*.js'
],
"dest": buildPath + "JavaScripts/",
"destFileName": "main.js",
"destVendorFileName": "vendor.js"
},
"css": {
"src": scssPath + "main.scss",
"dest": buildPath + "StyleSheets/",
"watch": scssPath + "**/*.scss"
},
"typo3": {
"fluidWatch": [
"web/typo3conf/ext/siteconfig/Resources/Private/**/*.html"
],
"fluid": [
typo3Vendor + 'fluidlint ' + "web/typo3conf/ext/siteconfig/Resources/Private/**/*.html"
],
"typoscriptWatch": [
"web/typo3conf/ext/**/Configuration/**/**/*.t3s"
],
"typoscript": [
typo3Vendor + 'typoscript-lint ' + "web/typo3conf/ext/**/Configuration/**/**/*.t3s"
]
},
"copy":
{
"fonts": {
"src": resources + 'Fonts',
"dest": buildPath + 'Fonts',
"watch": resources + "Fonts/**/*.*"
},
"misc": {
"src": resources + 'Misc',
"dest": buildPath + 'Misc',
"watch": resources + "Misc/**/*.*"
},
"images": {
"src": resources + 'Images',
"dest": buildPath + 'Images',
"watch": resources + "Images/**/*.*"
}
},
"gulphelp": {
"options": {
"hideEmpty": true,
"hideDepsMessage": true,
"description": ''
}
}
}
return config;
};