forked from VetsFirstChoice/react-boilerplate-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
executable file
·36 lines (36 loc) · 1.22 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
{
"compilerOptions": {
"noEmit": true,
"target": "es6",
"module": "esnext", //commonjs destroys 'dynamic imports' which is used for code splitting
"noImplicitAny": false,
"preserveConstEnums": true,
"typeRoots": ["node_modules/@types"],
"baseUrl": "./app",
"jsx": "react", // process JSX
"lib": ["dom", "es5", "es6", "es7", "es2017"],
"allowSyntheticDefaultImports": true, // no errors with commonjs modules interop
"esModuleInterop": true,
"allowJs": true, // include js files
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
// "importHelpers": true, // importing helper functions from tslib
// "noEmitHelpers": true, // disable emitting inline helper functions
"types": ["jest", "node"],
"moduleResolution": "node",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"strict": true,
"strictFunctionTypes": false,
"pretty": true,
"removeComments": true,
"sourceMap": true
},
"include": ["app/**/*", "internals/templates/**/*"],
"exclude": ["node_modules"]
}