Skip to content

Commit

Permalink
fixed tsconfig and build output
Browse files Browse the repository at this point in the history
  • Loading branch information
Cylop committed Oct 4, 2023
1 parent 21cd101 commit c8d17c4
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
{
"compilerOptions": {
"target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "ESNext" /* Specify what module code is generated. */,
"compilerOptions": {
"target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "ESNext" /* Specify what module code is generated. */,

"declaration": true, // Generates corresponding '.d.ts' file
"esModuleInterop": true, // Interop between commonjs and ESModules, useful if consuming dependencies with varying module types
"moduleResolution": "node", // Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).
"outDir": "./dist", // Redirect output structure to the directory.
"rootDir": "src", // Specify the root directory of input files. Use to control the output directory structure with --outDir.
"baseUrl": ".",

"strict": true, // Enable all strict type checking options
"skipLibCheck": true, // Skip type checking of declaration files
"declaration": true, // Generates corresponding '.d.ts' file
"esModuleInterop": true, // Interop between commonjs and ESModules, useful if consuming dependencies with varying module types
"moduleResolution": "node", // Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).

/* Experimental */
"experimentalDecorators": true, // Enables experimental support for ES7 decorators
"strict": true, // Enable all strict type checking options
"skipLibCheck": true, // Skip type checking of declaration files

/* Advanced Options */
"removeComments": true, // Remove comments from the output files
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"noImplicitReturns": true, // Report an error if not all code paths in function return a value
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement
"forceConsistentCasingInFileNames": true // Disallow inconsistently-cased references to the same file.
},
"exclude": ["node_modules", "dist", "src/**/*.spec.ts"]
/* Experimental */
"experimentalDecorators": true, // Enables experimental support for ES7 decorators

/* Advanced Options */
"removeComments": true, // Remove comments from the output files
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"noImplicitReturns": true, // Report an error if not all code paths in function return a value
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement
"forceConsistentCasingInFileNames": true // Disallow inconsistently-cased references to the same file.
},
"exclude": ["node_modules", "dist", "src/**/*.spec.ts"]
}

0 comments on commit c8d17c4

Please sign in to comment.