diff --git a/tsconfig.build.json b/tsconfig.build.json index bdc5395c..efdcb6f3 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -8,6 +8,8 @@ }, "exclude": [ "node_modules", + "dist", + "test", "**/*.test.ts", "**/*.spec.ts", "**/__tests__/**" diff --git a/tsconfig.json b/tsconfig.json index 3bb36759..01b1d55f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,12 +6,11 @@ "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ /* Modules */ - "module": "CommonJS", /* Specify what module code is generated. */ /* Specify the root folder within your source files. */ + "module": "CommonJS", /* Specify what module code is generated. */ "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. */ - "resolveJsonModule": true, - "ignoreDeprecations": "6.0", - "types": ["jest", "node", "multer"], /* Enable importing .json files. */ + "resolveJsonModule": true, /* Enable importing .json files. */ + "types": ["jest", "node", "multer"], /* Emit */ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ @@ -22,17 +21,17 @@ /* Interop Constraints */ "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ - "forceConsistentCasingInFileNames": false, /* Ensure that casing is correct in imports. */ + "forceConsistentCasingInFileNames": false, /* Ensure that casing is correct in imports. */ /* Type Checking */ "strict": true, /* Enable all strict type-checking options. */ - "noImplicitAny": false, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ - "strictNullChecks": false, /* When type checking, take into account 'null' and 'undefined'. */ - "strictBindCallApply": false, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ - "noFallthroughCasesInSwitch": false, /* Enable error reporting for fallthrough cases in switch statements. */ + "noImplicitAny": false, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ + "strictNullChecks": false, /* When type checking, take into account 'null' and 'undefined'. */ + "strictBindCallApply": false, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ + "noFallthroughCasesInSwitch": false, /* Enable error reporting for fallthrough cases in switch statements. */ /* Completeness */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */ }, "include": [ "src/**/*",