-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
41 lines (37 loc) · 988 Bytes
/
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
{
"compilerOptions": {
"target": "ES6",
"module": "esnext",
"jsx": "react-jsx",
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
"sourceMap": true,
// Enable the strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": true,
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "build",
"typeRoots": [
"node_modules/@types",
"types"
],
"types": [
"puppeteer",
"jest-environment-puppeteer",
"expect-puppeteer"
]
},
"include": ["src/**/*"],
"exclude": ["build","coverage"]
}