Add tsconfig and tsconfig.build configuration files

Introduced `tsconfig.json` with TypeScript compiler options tailored for the project. Additionally, created `tsconfig.build.json` to extend the main config for build-specific settings and exclusions. This setup ensures a streamlined compilation process and cleaner build output.
This commit is contained in:
Mathis H (Avnyr) 2024-10-31 11:42:56 +01:00
parent 0fb7c3e288
commit 80c8662ed1
Signed by: Mathis
GPG Key ID: DD9E0666A747D126
2 changed files with 25 additions and 0 deletions

4
tsconfig.build.json Normal file
View File

@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}

21
tsconfig.json Normal file
View File

@ -0,0 +1,21 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
}
}