This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
47 lines (42 loc) · 2.03 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": "es6",
"outDir": "dist",
"rootDir": "src",
"declaration": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"inlineSourceMap": true,
"module": "commonjs",
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"strict": true /* Enable all strict type-checking options. */,
"removeComments": true /* Cleanup comments */,
/* Lint-type Checks */
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"forceConsistentCasingInFileNames": true /* issue an error if a program tries to include a file by a casing different from the casing on disk */,
/* Debugging Options */
"traceResolution": false /* Report module resolution log messages. */,
"listEmittedFiles": false /* Print names of generated files part of the compilation. */,
"listFiles": false /* Print names of files part of the compilation. */,
"pretty": true /* Stylize errors and messages using color and context. */,
"typeRoots": ["node_modules/@types",
"src/types"
]
},
/* Tell Typescript compiler what version(s) of JS libs to include when compiling.
* See https://www.typescriptlang.org/tsconfig#lib
*/
"lib": ["es2017", "esnext", "esnext.asynciterable"],
"exclude": ["node_modules/**", "./*.ts", "./src/test/**", "./examples/**", "**/*.test.ts"],
"compileOnSave": false,
"typedocOptions": {
"readme": "DOCS.md",
"disableSources": true,
// https://github.com/isaacs/minimatch patterns
// Cheatsheet: https://github.com/motemen/minimatch-cheat-sheet
"exclude": ["**/*.test.ts", "src/index.ts", "src/types/index.ts"]
}
}