-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulp.config.js
executable file
·53 lines (50 loc) · 1.48 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
module.exports = function() {
var client = 'client',
clientApp = './client/app'
dist = 'dist',
tmp = '.tmp'
var config = {
client: client,
dist: dist,
tmp: tmp,
index: client + "/index.html",
alljs: [
client + "/app/**/*.js",
'./*.js'
],
assets: [
client + "/app/**/*.html",
client + "/bower_components/font-awesome/css/*",
client + "/bower_components/font-awesome/fonts/*",
client + "/bower_components/weather-icons/css/*",
client + "/bower_components/weather-icons/font/*",
client + "/bower_components/weather-icons/fonts/*",
client + "/bower_components/material-design-iconic-font/dist/**/*",
client + "/fonts/**/*",
client + "/i18n/**/*",
client + "/images/**/*",
client + "/styles/loader.css",
client + "/styles/ui/images/*",
client + "/favicon.ico"
],
less: [],
sass: [
client + "/styles/**/*.scss"
],
js: [
clientApp + "/**/*.module.js",
clientApp + "/**/*.js",
'!' + clientApp + "/**/*.spec.js"
],
allToClean: [
tmp,
".DS_Store",
".sass-cache",
"node_modules",
".git",
client + "/bower_components",
"readme.md"
]
};
return config;
};