-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
44 lines (43 loc) · 1.51 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
{
"compilerOptions": {
"target": "ES5",
"lib": ["DOM", "ESNext", "DOM.Iterable"],
"module": "ESNext",
"declaration": true,
"outDir": "./public/dist",
// match output dir to input dir. e.g. dist/index instead of dist/src/index
"rootDir": "./src",
"typeRoots": [
"node_modules/@types"
],
"strict": true,
"allowJs": false,
"declarationMap": true,
"sourceMap": true,
"inlineSourceMap": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
//"inlineSources": true,
"moduleResolution": "Node",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
//"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"noFallthroughCasesInSwitch": true,
// interop between ESM and CJS modules. Recommended by TS
"esModuleInterop": true,
// significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
"skipLibCheck": true,
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
//"noEmit": true,
"useDefineForClassFields": false
},
"include": ["src"],
"exclude": ["node_modules", "**/__tests__/*", "public/dist"]
}