-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
61 lines (61 loc) · 1.6 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"extends": [
"@tsconfig/strictest/tsconfig.json"
],
"compilerOptions": {
/* Module target preferences */
"module": "NodeNext",
"target": "ESNext",
"lib": [
"ESNext",
"DOM",
"DOM.Iterable"
],
"moduleResolution": "nodenext",
/* General preferences */
"declaration": true,
"resolveJsonModule": true,
"sourceMap": true,
/* Type checking and linting preferences */
"newLine": "lf",
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"noUncheckedSideEffectImports": true,
"noImplicitAny": true,
"noEmitOnError": true,
"verbatimModuleSyntax": true,
"erasableSyntaxOnly": true,
/* Strictest overrides */
"skipLibCheck": true,
"checkJs": false,
// Need full typescript features, so it's disabled
"isolatedModules": false,
/*
Reduce friction when working with ESM and CommonJS libraries.
If working with ESM only, then there's no need to use this.
*/
"esModuleInterop": true,
/* Library specific options */
// Omit types to include all visible @types packages
// "types": ["node"],
/*
Most of the time there is no need to configure baseUrl and rootDir.
However, if a module in /src imports something outside /src,
the /src folder will be included in dist. That will be a
good time to explicitly set them here.
*/
// "baseUrl": "./",
// "rootDir": "./src",
"outDir": "./dist",
},
/* Library specific options */
"include": [
"src/**/*",
],
"exclude": [
"**/*.test.*",
"**/*.spec.*",
"**/__tests__/**",
"dist"
]
}