2022-04-28 23:39:21 +02:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"target": "es6",
|
|
|
|
"module": "commonjs",
|
|
|
|
"lib": ["es2020"],
|
|
|
|
// Tells TypeScript to read JS files, as
|
|
|
|
// normally they are ignored as source files
|
|
|
|
"allowJs": true,
|
|
|
|
// Generate d.ts files
|
|
|
|
"declaration": true,
|
|
|
|
// go to js file when using IDE functions like
|
|
|
|
// "Go to Definition" in VSCode
|
|
|
|
"declarationMap": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
// Types should go into this directory.
|
|
|
|
// Removing this would place the .d.ts files
|
|
|
|
// next to the .js files
|
|
|
|
"outDir": "dist",
|
|
|
|
"strict": true,
|
|
|
|
"noImplicitAny": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"incremental": true,
|
|
|
|
"types": [ "node", "jest"],
|
2022-05-25 14:31:49 +02:00
|
|
|
"composite": true
|
2022-04-28 23:39:21 +02:00
|
|
|
},
|
|
|
|
"include": [
|
|
|
|
"**/*.js",
|
|
|
|
"**/*.ts",
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"node_modules",
|
2022-05-24 21:01:13 +02:00
|
|
|
"dist/**/*",
|
2022-04-28 23:39:21 +02:00
|
|
|
"**/*.spec.js",
|
|
|
|
// "**/*.spec.ts" // don't exclude spec.ts files for editor support
|
|
|
|
]
|
|
|
|
}
|