-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 891 Bytes
/
tsconfig.json
File metadata and controls
28 lines (28 loc) · 891 Bytes
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
{
"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
},
"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"
]
}