-
Notifications
You must be signed in to change notification settings - Fork 705
/
tsconfig.json
53 lines (51 loc) · 1.53 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
{
"compilerOptions": {
"module": "Node16",
"lib": ["es2023"],
"target": "es2022",
// Add our `ts` internal types
"typeRoots": ["node_modules/@types", "src/lib/types"],
"types": ["node", "lunr", "mocha"],
// Speed up dev compilation time
"incremental": true,
"tsBuildInfoFile": "dist/.tsbuildinfo",
"skipLibCheck": false,
"strict": true,
"alwaysStrict": true,
// For tests
"resolveJsonModule": true,
// Linting
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"noUncheckedSideEffectImports": true,
// Library
"preserveConstEnums": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
// Output
"outDir": "dist/",
"rootDir": "src/",
"newLine": "LF",
"jsx": "react",
"jsxFactory": "JSX.createElement",
"jsxFragmentFactory": "JSX.Fragment",
"verbatimModuleSyntax": true,
"isolatedModules": true
},
"include": ["src"],
"exclude": [
"src/lib/output/themes/default/assets",
"src/test/converter",
"src/test/converter2",
"src/test/renderer/specs",
"src/test/.dot",
"src/test/module",
"src/test/packages",
"src/test/slow/entry-points",
"src/test/renderer/testProject"
]
}