forked from SocialGouv/archifiltre-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
28 lines (28 loc) · 1.15 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
{
"compilerOptions": {
"incremental": true,
"experimentalDecorators": true,
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strictNullChecks": true, // enable strict null checks as a best practice
"module": "es6", // specify module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "es2015", // specify ECMAScript target version
"allowJs": true, // allow a partial TypeScript and JavaScript codebase
"moduleResolution": "node",
"baseUrl": "src",
"esModuleInterop": true,
"lib": ["es6", "scripthost", "dom"],
"resolveJsonModule": true,
"noUnusedLocals": true,
"types": ["react", "jest", "node"] // This is a dirty-fix to ignore @types/react-native that is added
// by @types/styled-components and collides with @types/react.
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33311#issuecomment-466731156
},
"include": [
"./src/"
],
"exclude": [
"**/*.test.*"
]
}