forked from opencredo/angular2-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.config.js
36 lines (29 loc) · 1.1 KB
/
gulpfile.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
'use strict';
var GulpConfig = (function () {
function GulpConfig() {
this.src = './src';
this.webappSrc = this.src + '/webapp';
this.dest = './public';
this.typingsDir = './typings';
this.outputFile = 'angular2-boilerplate';
this.outputCSSDir = '/css';
this.outputLibDir = '/lib';
this.mainLessFile = this.webappSrc + '/assets/styles/main.less';
this.allHTML = [
this.webappSrc + '/*.html',
this.webappSrc + '/**/*.html'
];
this.allLess = this.webappSrc + '/assets/styles/**/*.less';
this.allTypeScript = this.webappSrc + '/**/*.ts';
this.allJavaScript = '/**/*.js';
this.allJavaScriptSourceMap = '/**/*.js.map';
this.allLib = [
'bower_components/traceur-runtime/traceur-runtime.js'
];
this.serverPath = this.src + '/server/server.js';
this.libraryTypeScriptDefinitions = this.typingsDir + '/**/*.ts';
this.appTypeScriptReferences = this.typingsDir + '/tsd.d.ts';
}
return GulpConfig;
})();
module.exports = GulpConfig;