-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
54 lines (54 loc) · 1.18 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
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
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"moduleResolution": "node",
"lib": [
"es2017",
"dom"
],
"sourceMap": true,
"rootDir": "./src",
"types": [
// add node as an option
"node"
],
"typeRoots": [
// add path to @types
"node_modules/@types"
],
"skipLibCheck": true,
"baseUrl": "./",
"paths": {
"*": [
"src/@types/*"
],
"src/*": [
"./src/*"
]
},
"declaration": true
/* Generates corresponding '.d.ts' file. */,
"declarationMap": true
/* Generates a sourcemap for each corresponding '.d.ts' file. */,
"outDir": "./lib"
/* Redirect output structure to the directory. */,
"strict": true
/* Enable all strict type-checking options. */,
"esModuleInterop": true,
"experimentalDecorators": true
/* Enables experimental support for ES7 decorators. */,
"emitDecoratorMetadata": true
/* Enables experimental support for emitting type metadata for decorators. */,
/* Advanced Options */
"forceConsistentCasingInFileNames": true
/* Disallow inconsistently-cased references to the same file. */,
"resolveJsonModule": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules"
]
}