-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
34 lines (34 loc) · 1.13 KB
/
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
{
// 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/node14/tsconfig.json",
"compilerOptions": {
"strictPropertyInitialization": false,
// do not compile anything, this file is just to configure type checking
// the compilation is configured in tsconfig.build.json
"noEmit": true,
// Never emit faulty JS
"noEmitOnError": true,
// check JS files, but do not compile them => tsconfig.build.json
"allowJs": true,
"checkJs": true,
"outDir": "./build/",
"removeComments": false,
"jsx": "react-jsx",
// "jsx": "react-native",
// Avoid runtime imports that are unnecessary
// "importsNotUsedAsValues": "error",
// Required for TS debugging
"sourceMap": true,
"inlineSourceMap": false,
// watch=true breaks CI build steps
// "watch": false,
// "module": "CommonJS"
// yup
// "strictNullChecks": false,
// "strictFunctionTypes": false
"resolveJsonModule": true
},
"include": ["**/*.ts", "**/*.d.ts"],
"exclude": ["build/**", "node_modules/**", "admin/**", "widgets/**"]
}