-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
46 lines (46 loc) · 1.46 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
{
"compilerOptions": {
"baseUrl": ".",
// "outDir": "./build/", not needed because we use webpack with ts-loader
"module": "esnext",
// Target ES5 for more modern browsers and old browser.
"target": "es5",
// Include typings from built-in lib declarations
"lib": ["es6", "dom"],
// Include module source maps for debugging
"sourceMap": true,
// Allow JavaScript files to be compiled.
"allowJs": true,
// Set React as the JSX factory
"jsx": "react",
// Resolve modules using Node-resolution algorithm
"moduleResolution": "node",
// Specify the root directory of input files. Use to control the output directory
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"noImplicitReturns": true,
// Raise error on 'this' expressions with an implied 'any' type.
"noImplicitThis": true,
// Raise error on expressions and declarations with an implied 'any' type.
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"skipLibCheck": true,
"esModuleInterop": true
},
"include": [
"./src/*"
],
"allowSyntheticDefaultImports": true,
"exclude": [
"node_modules",
"build",
"scripts",
"acceptance-tests",
"webpack",
"jest",
"src/setupTests.ts"
]
}