-
Notifications
You must be signed in to change notification settings - Fork 45
/
tsconfig.json
34 lines (30 loc) · 931 Bytes
/
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
{
"compilerOptions": {
// Make the compiler stricter, catch more errors
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Output
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "Node",
"importHelpers": true,
// DX
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/.tsbuildinfo",
"noErrorTruncation": true,
// Other
// Only enable this for applications.
// Packages doing this force their consumers to.
// for pluralize which we will remove once @prisma/client exports externalToInternal DMMF transformer
"esModuleInterop": true,
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
".nexus-prisma": [".nexus-prisma"]
}
},
"include": ["src", "tests", "scripts", "utils"],
"exclude": ["dist-*", "tests/e2e/fixtures", "docs"]
}