-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtsconfig.json
33 lines (27 loc) · 972 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
// Root tsconfig to set the settings and power editor support for all TS files
{
// To update the compilation target, install a different version of @tsconfig/node... and reference it here
// https://github.com/tsconfig/bases#node-12-tsconfigjson
"extends": "@tsconfig/node12/tsconfig.json",
"compilerOptions": {
// Required for monorepos
"composite": true,
"declaration": true,
"declarationMap": true,
// Never emit faulty JS
"noEmitOnError": true,
"outDir": "build/",
"removeComments": false,
// Avoid runtime imports that are unnecessary
"importsNotUsedAsValues": "error",
// "ignoreDeprecations": "5.0",
// Required for TS debugging
"sourceMap": true,
"inlineSourceMap": false,
// Make jest-extended work in tests
"types": ["node", "jest", "jest-extended"],
"preserveWatchOutput": true
},
"include": ["packages/**/src/**/*.ts", "test/**/*.ts"],
"exclude": ["**/build/**", "node_modules/**", "packages/**/node_modules"]
}