-
Notifications
You must be signed in to change notification settings - Fork 25
/
tsconfig.json
28 lines (28 loc) · 1.07 KB
/
tsconfig.json
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
{
"compilerOptions": {
"watch": false,
"noImplicitAny": true,
"target": "es5",
// The 'commonjs' specification is needed in order to transpile
// proper NodeJS code. Otherwise there may be some code where
// certain features aren't supported in Node. For more context,
// please look at the "Code Generation for Modules" section in
// 'https://www.typescriptlang.org/docs/handbook/modules.html'
"module": "commonjs",
"moduleResolution": "node",
"typeRoots": ["./node_modules/@types"],
"lib": [
"es2015",
"dom"
],
// Note, 'sourceMap' isn't a supported attribute in gulp, so it will be ignored
// (aka, no-op) when this file is processed by gulp.
// Please see https://github.com/ivogabe/gulp-typescript for more context, which
// notes the issue as unsupported.
"sourceMap": true,
"baseUrl": "src",
"outDir": "./lib",
// Generate the typings (d.ts) file
"declaration": true
}
}