-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgulp.config.js
61 lines (53 loc) · 1.43 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
module.exports = function(){
var appFolder = './app/';
var bowerFolder = './app/bower_components/';
var temp = './.tmp/';
var root = "./";
var config ={
app : appFolder,
build: './build/',
css: appFolder+"assets/app.css",
htmltemplate: appFolder+ '/view/*.html',
index: appFolder +'index.html',
js: [
appFolder + '**/*.js',
'!'+appFolder+ 'boot.js',
'!'+bowerFolder + '**/*.js',
],
packages:[
'./package.json',
'./bower.json'
],
root:root,
svg: appFolder + "assets/svg/*.*",
temp: temp,
/**
* TemplateCache Options
*/
templateCache:{
file:'template.js',
options:{
module:'contactManagerApp',
standAlone:false,
root:'view/'
}
},
/**
* Bower and NPM Locations
*/
bower:{
json : require('./bower.json'),
directory: bowerFolder,
ignorePath: '../..'
}
};
config.getWiredepDefaultOptions= function () {
var options = {
bowerJson: config.bower.json,
directory: config.bower.directory,
ignorePath: config.bower.ignorePath
};
return options;
};
return config;
};