forked from TypeStrong/typedoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
54 lines (54 loc) · 1.7 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
{
"compilerOptions": {
"module": "CommonJS",
"lib": ["es2019", "es2020.promise", "es2020.bigint", "es2020.string"],
"target": "es2019",
// Add our `ts` internal types
"typeRoots": ["node_modules/@types", "src/lib/types"],
"types": ["node", "glob", "lunr", "marked", "minimatch", "mocha"],
// Speed up dev compilation time
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/.tsbuildinfo",
"experimentalDecorators": true,
"strict": true,
"alwaysStrict": true,
// For tests
"resolveJsonModule": true,
// Linting
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
// Library
"preserveConstEnums": true,
"declaration": true,
"sourceMap": true,
"isolatedModules": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
// Output
"outDir": "dist/",
"rootDir": "src/",
"newLine": "LF",
"jsx": "react",
"jsxFactory": "JSX.createElement",
"jsxFragmentFactory": "JSX.Fragment"
},
"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",
"src/codegen"
],
// We use ts-node to support mocha runner directly on files
"ts-node": {
"transpileOnly": true
}
}