-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.build.json
47 lines (42 loc) · 1.2 KB
/
tsconfig.build.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
// Usage: tsc -p tsconfig.build.json
// This is the tsconfig.json file used when building the library for distribution to npm.
{
"compilerOptions": {
"incremental": true,
"target": "ESNext",
"module": "Node16",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "dist",
// "rootDir": "src",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"removeComments": false,
"baseUrl": "./src",
"paths": {
"@constants/*": ["constants/*"],
"@lib/*": ["lib/*"],
"@schemas/*": ["schemas/*"]
},
"strict": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "Node16",
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"inlineSources": true,
"forceConsistentCasingInFileNames": true,
"noEmitOnError": true,
"noImplicitOverride": true,
"pretty": true,
"skipLibCheck": true,
},
"exclude": ["node_modules", "dist", "test/**/*"],
"include": ["src/**/*"]
}