-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulp-config.js
95 lines (83 loc) · 2.17 KB
/
gulp-config.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
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
var paths = {
root: '.',
assets_dest: 'assets',
css_dest: 'assets/css',
scripts_dest: 'assets/js',
icons_dest: 'assets/icons',
core: 'resources/core',
vendor: 'node_modules'
};
var builds = {
site: {
styles: {
raw: paths.core + '/site/sass/',
src: paths.css_dest + '/src/site/',
dist: paths.css_dest + '/dist/site/'
},
scripts: {
raw: paths.core + '/site/js/',
src: paths.scripts_dest + '/src/site/',
dist: paths.scripts_dest + '/dist/site/'
},
icons: {
raw: paths.core + '/site/icons/',
dest: paths.icons_dest + '/site/',
styles: paths.core + '/site/sass/components/icons/'
},
handlebarsTemplates: {
raw: paths.core + '/site/js/templates/'
},
templates: {
raw: 'resources/views/'
}
},
astrum: {
styles: {
raw: paths.core + '/astrum/sass/',
src: paths.css_dest + '/src/astrum/',
dist: paths.css_dest + '/dist/astrum/'
},
scripts: {
raw: paths.core + '/astrum/js/',
src: paths.scripts_dest + '/src/astrum/',
dist: paths.scripts_dest + '/dist/astrum/'
},
icons: {
raw: paths.core + '/astrum/icons/',
dest: paths.icons_dest + '/astrum/',
styles: paths.core + '/astrum/sass/components/icons/'
},
handlebarsTemplates: {
raw: paths.core + '/astrum/js/templates/'
},
templates: {
raw: 'resources/views/'
}
}
};
var vendor = {
site: {
styles: [
paths.vendor + '/normalize.css/normalize.css'
],
scripts: {
head: [],
foot: []
}
},
astrum: {
styles: [
paths.vendor + '/normalize.css/normalize.css'
],
scripts: {
head: [],
foot: []
}
}
};
module.exports = {
url: 'http://astrum.loc',
paths: paths,
builds: builds,
vendor: vendor
};