forked from AIDUSA/rfi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulp.config.js
56 lines (54 loc) · 1.37 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
/**
* Created by mehsisil on 4/22/15.
*/
module.exports = function() {
var config = {
alljs: [
'./src/client/**/*.js',
'./src/server/**/*.js',
'./*.js'
],
temp: './.tmp/',
build: './compiled/',
client: './src/client/',
css: './src/client/css/*.css',
index: './src/client/html/index.html',
html: './src/client/html/',
js: [
'./src/client/js/*.js'
],
root: './',
server: './src/server/',
source: './src/',
bower: {
json: require('./bower.json'),
directory: './bower_components/',
ignorePath: '../..'
},
packages: [
'./package.json',
'./bower.json'
],
nodeServer: './src/server/server.js',
env: {
production: {
PORT: 8001,
NODE_ENV: 'production'
},
development: {
PORT: 8088,
NODE_ENV: 'development'
}
},
browserReloadDelay: 1000
};
config.getWiredepDefaultOptions = function() {
var options = {
bowerJson: config.bower.json,
directory: config.bower.directory,
ignorePath: config.bower.ignorePath
};
return options;
};
return config;
};