aboutsummaryrefslogtreecommitdiffhomepage
path: root/tsconfig.json
blob: 3739002e423b01c3b83cb47f70645dc824947d3b (plain)
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
{
  "compilerOptions": {
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "outDir": "./dist",
    /* https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping */
    "target": "es2022",
    "module": "commonjs",
    "sourceMap": true,
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "resolveJsonModule": false,
    "noUnusedLocals": true,
    "noImplicitOverride": true,
    "experimentalDecorators": true,
    "useUnknownInCatchVariables": false /* we aren't prepared for enabling this by default since ts 4.4*/,
    "isolatedModules": true /* required for esbuild */,
    "lib": ["es2022"],
    "types": ["node", "jest-extended", "expect-more-jest"],
    "allowJs": true,
    "checkJs": true,
    "importsNotUsedAsValues": "error",
    "ignoreDeprecations": "5.0"
  },
  "include": ["**/*.ts", "**/*.js", "**/*.mjs", "**/*.cjs"],
  "exclude": [
    "node_modules",
    "./.cache",
    "./dist",
    "**/__mocks__/*",
    "coverage",
    "config.js",
    "tmp"
  ],
  "ts-node": { "transpileOnly": true, "esm": true }
}