-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathtsconfig.json
More file actions
31 lines (31 loc) · 1.05 KB
/
tsconfig.json
File metadata and controls
31 lines (31 loc) · 1.05 KB
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
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"lib": ["es6", "dom"],
"declaration": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
// https://github.com/microsoft/TypeScript/wiki/Performance#controlling-types-inclusion:
"types": ["jest"],
"esModuleInterop": true,
// Prevent developers on different OSes from running into problems:
"forceConsistentCasingInFileNames": true,
// Advanced Options
"stripInternal": true
},
"include": ["src/**/*.ts"],
"exclude": [
"**/node_modules",
// These end-to-end tests reference code in `.codesandbox`,
// which is not part of this project and should not be compiled together with it.
// 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",
"src/tests.internal.ts"
]
}