-
Notifications
You must be signed in to change notification settings - Fork 17
/
tsconfig.json
44 lines (44 loc) · 1.39 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
{
"$schema": "http://json.schemastore.org/tsconfig",
"include": [
"packages/*/**/*.ts",
"examples/*/**/*.ts",
"examples/*/**/*.tsx",
"examples/*/**/*.js",
"examples/*/**/*.jsx"
],
"exclude": ["**/node_modules/**"],
"compilerOptions": {
// During development for Node v10.8 support
"target": "es2018",
"module": "ESNext",
"lib": ["esnext", "dom", "dom.iterable"],
"jsx": "preserve",
// ensure that nobody can accidentally use this config for a build
"noEmit": true,
"declaration": true,
"declarationMap": true,
"noEmitOnError": true,
"noErrorTruncation": true,
// Enforce using `import type` instead of `import` for Types
"importsNotUsedAsValues": "remove",
"allowJs": true,
// Generate inline sourcemaps
"sourceMap": false,
"inlineSourceMap": true,
"inlineSources": true,
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// Allow to import json files
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
}