This repository has been archived by the owner on May 23, 2022. It is now read-only.
forked from gautamsi/ews-javascript-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulp.config.js
60 lines (56 loc) · 1.58 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
module.exports = function() {
var root = './';
var temp = './.tmp/';
var typings = './src/js/typings/';
var config = {
/**
* File paths
*/
// All typescript settings
ts: {
// all typescript that we want to vet
files: [
'./src/**/*.ts',
],
// all typescript that we want to vet
testFiles: [
'./test/**/*.ts',
],
defs: typings + '**/*.ts',
output: '.tmp',
refs: typings + 'app.d.ts',
appRefs: '.tmp/typings/app-dts/',
transformFn: function (filepath) {
return '/// <reference path="..' + filepath + '" />';
},
tscOptions: {
target: 'ES5',
declarationFiles: true,
noExternalResolve: true,
module: 'commonjs',
noImplicitAny: true,
removeComments: false,
sortOutput: true
},
typings: typings
},
typedocFiles:[
'./**/*.ts',
'!./**/*.d.ts',
'!./WebService.Extra.ts',
'!./Microsoft.Exchange.WebServices.d__.ts',
],
build: './build/',
root: root,
source: 'src/',
temp: temp,
/**
* optimized files
*/
optimized: {
app: 'app.js',
lib: 'lib.js'
},
};
return config;
};