forked from IIIF-Commons/manifesto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.config.js
27 lines (25 loc) · 902 Bytes
/
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
var metadata = require('./package');
var path = require('path');
var GulpConfig = (function () {
function GulpConfig() {
this.lib = 'manifesto.js';
this.dist = './dist';
this.client = path.join(this.dist, '/client/');
this.server = path.join(this.dist, '/server/');
this.browserifyOut = this.lib;
this.browserifySrc = path.join(this.server, this.lib);
this.browserifyStandalone = 'manifesto';
this.header = '// ' + metadata.name + ' v' + metadata.version + ' ' + metadata.homepage + '\n';
this.tsOut = this.lib;
this.tsSrc = [
'src/_references.ts',
'src/*.ts',
'typings/*.ts',
'node_modules/extensions/typings/*.d.ts',
'!test'];
this.tsTarget = "es3";
this.test = 'test/*.js';
}
return GulpConfig;
})();
module.exports = GulpConfig;