-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
47 lines (47 loc) · 1.35 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
{
"compilerOptions": {
"target": "es2020",
"module": "commonjs",
"lib": ["es2022", "dom"],
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
// https://github.com/microsoft/TypeScript/wiki/Performance#controlling-types-inclusion:
"types": [],
"esModuleInterop": true,
// Prevent developers on different OSes from running into problems:
"forceConsistentCasingInFileNames": true,
// Advanced Options
"stripInternal": true
},
"typedocOptions": {
"out": "docs/api/source/api",
"hideInPageTOC": true,
"entryPoints": [],
"exclude": [
"node_modules/**",
"**/*.test.ts",
// End-to-end tests:
"e2e/**"
],
"theme": "markdown",
"readme": "none",
"entryDocument": "index.rst",
"plugin": [
"typedoc-plugin-markdown",
"@typhonjs-typedoc/ts-lib-docs/typedoc/ts-links/dom/2023",
"@typhonjs-typedoc/ts-lib-docs/typedoc/ts-links/esm/2023"
]
},
"include": ["src/**/*.ts"],
"exclude": [
"**/node_modules",
// Not excluding this will lead to the root of the repository being used
// as the root directory for compilation (instead of /src),
// meaning that files that would otherwise be included in /dist directly
// (e.g. dist/index.d.ts) will then be built to /dist/src.
"e2e",
"**/*.test.ts"
]
}