-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulp.config.js
More file actions
executable file
·66 lines (65 loc) · 1.65 KB
/
gulp.config.js
File metadata and controls
executable file
·66 lines (65 loc) · 1.65 KB
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
module.exports = function() {
/**
* Bower and NPM files
*/
var bower = {
json: require('./bower.json'),
directory: './bower_components/',
ignorePath: '../..'
};
var paths = {
src: 'src/',
app: 'app/',
root: './',
temp: './src/.tmp/',
//temp: temp,
dest: 'wwwroot/',
statics: ['sound', 'styles'],
less:[
'./src/styles/less/bootstrap.less'
],
fonts: bower.directory + 'font-awesome/fonts/**/*.*',
packages: [
'./package.json',
'./bower.json'
],
includeExtensions: [
'**/*.js'],
excludeExtensions: [
'!**/*.min.js',
'!**/*.backup.js',
'!**/src/**',
'!**/build/**',
'!**/speed/**',
'!**/test/**',
'!**/examples/**',
'!**/ui/**'],
tempCss: './src/.tmp/css/',
destCss: 'wwwroot/styles/css/**/*',
srcpluginjs:[
'./src/plugin/**/*.js'
],
tempPlugin: './src/.tmp/plugin/',
srcStatic : [
'src/index.html',
'src/rconfig.js',
'src/app/includes.js'
],
destStatic : [
'wwwroot/index.html',
'wwwroot/rconfig.js',
'wwwroot/app/includes.js'
],
srcExtLib : 'src/lib/**/*',
destExtLib :'wwwroot/lib/',
srcApp: 'src/app/**/*',
destApp: 'wwwroot/app/',
srcApi: 'src/api/**/*',
destApi: 'wwwroot/api/'
};
var config = {
paths: paths,
bower : bower
};
return config;
};