Server/tsconfig.json

57 lines
3 KiB
JSON
Raw Normal View History

2024-09-05 00:21:51 -07:00
{
"exclude": ["./src/webrtc"],
"include": ["./src"],
"compilerOptions": {
/* Projects */
"incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
/* Language and Environment */
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": [
"ESNext"
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
"experimentalDecorators": true /* Enable experimental support for TC39 stage 2 draft decorators. */,
"emitDecoratorMetadata": true /* Emit design-type metadata for decorated declarations in source files. */,
/* Modules */
"module": "commonjs" /* Specify what module code is generated. */,
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
"baseUrl": "./src/",
"paths": {
"@valkyrie/api*": ["./api"],
"@valkyrie/gateway*": ["./gateway"],
"@valkyrie/cdn*": ["./cdn"],
"@valkyrie/util*": ["./util"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */,
"types": [
"node"
] /* Specify type package names to be included without being referenced in a source file. */,
"resolveJsonModule": true /* Enable importing .json files. */,
/* JavaScript Support */
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
"checkJs": true /* Enable error reporting in type-checked JavaScript files. */,
/* Emit */
"declaration": false /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
"declarationMap": false /* Create sourcemaps for d.ts files. */,
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
"outDir": "./dist/" /* Specify an output folder for all emitted files. */,
"importHelpers": true /* Allow importing helper functions from tslib once per project, instead of including them per-file. */,
"noEmitHelpers": true /* Disable generating custom helper functions like '__extends' in compiled output. */,
/* Interop Constraints */
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
/* Type Checking */
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
"strictNullChecks": true /* When type checking, take into account 'null' and 'undefined'. */,
"strictPropertyInitialization": false /* Check for class properties that are declared but not set in the constructor. */,
"alwaysStrict": true /* Ensure 'use strict' is always emitted. */,
/* Completeness */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
}