aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-08-02 13:21:16 +0530
committerRitesh Ghosh <[email protected]>2023-08-02 13:21:16 +0530
commit1dc79d1b113ef14ffffaa8b8a5aa7d475b2a45e8 (patch)
treedd40bff7d1d4073e9efa4d8c2f2e38481ad1139a
parentc0be4b50ffbfbf957b38e4c0a3e49b225f109507 (diff)
downloadaniwatch-api-1dc79d1b113ef14ffffaa8b8a5aa7d475b2a45e8.tar.xz
aniwatch-api-1dc79d1b113ef14ffffaa8b8a5aa7d475b2a45e8.zip
build: updated ts build config
-rw-r--r--tsconfig.json35
1 files changed, 13 insertions, 22 deletions
diff --git a/tsconfig.json b/tsconfig.json
index fe7d4b1..09fe66d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,27 +1,18 @@
{
"compilerOptions": {
- /* Language and Environment */
- "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
- /* Modules */
- "module": "ESNext", /* Specify what module code is generated. */
- "rootDir": "./src", /* Specify the root folder within your source files. */
- "moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
- // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
- // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
- /* Emit */
- // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
- "outDir": "./dist", /* Specify an output folder for all emitted files. */
- "removeComments": true, /* Disable emitting comments. */
- /* 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. */
- "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
- /* Completeness */
- // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
+ "target": "ES2021",
+ "module": "CommonJS",
+ "rootDir": "./src",
+ "moduleResolution": "Node",
+ // "sourceMap": true,
+ "outDir": "./dist",
+ "declaration": true,
+ "removeComments": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "strict": true,
+ "strictFunctionTypes": true,
+ "skipLibCheck": true
},
"include": [
"./src"