|
@@ -1,18 +1,25 @@
|
1
|
1
|
{
|
2
|
2
|
"compileOnSave": true,
|
3
|
3
|
"compilerOptions": {
|
|
4
|
+ // Target latest version of ECMAScript.
|
4
|
5
|
"target": "es5",
|
|
6
|
+ // Search under node_modules for non-relative imports.
|
5
|
7
|
"moduleResolution": "node",
|
|
8
|
+ // Process & infer types from .js files.
|
|
9
|
+ "allowJs": true,
|
|
10
|
+ // Don't emit; allow Babel to transform files.
|
|
11
|
+ "noEmit": true,
|
|
12
|
+ // Import non-ES modules as default imports.
|
|
13
|
+ "esModuleInterop": true,
|
|
14
|
+ // Enable strictest settings like strictNullChecks & noImplicitAny.
|
6
|
15
|
"strictNullChecks": true,
|
7
|
16
|
"alwaysStrict": true,
|
8
|
17
|
"sourceMap": true,
|
9
|
|
- "declaration": true,
|
10
|
18
|
"rootDirs": [
|
11
|
19
|
"src",
|
12
|
20
|
"example"
|
13
|
21
|
],
|
14
|
22
|
"outDir": "lib/",
|
15
|
|
- "declarationDir": "lib/types"
|
16
|
23
|
},
|
17
|
24
|
"include": [
|
18
|
25
|
"src/**/*",
|