budibase/packages/backend-core/tsconfig.json

37 lines
915 B
JSON
Raw Normal View History

{
"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"],
},
"include": [
"**/*.js",
"**/*.ts",
],
"exclude": [
"node_modules",
2022-05-24 21:01:13 +02:00
"dist/**/*",
"**/*.spec.js",
// "**/*.spec.ts" // don't exclude spec.ts files for editor support
]
}