-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
20 lines (19 loc) · 1.26 KB
/
tsconfig.json
File metadata and controls
20 lines (19 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions": {
"target": "ES2016", // Update target to at least ES2016
"module": "CommonJS", // Specify module code generation
"outDir": "./dist", // Redirect output structure to the directory
"rootDir": "./src", // Specify the root directory of input files
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables emit interoperability between CommonJS and ES Modules
"skipLibCheck": true, // Skip type checking of all declaration files
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
"baseUrl": "./src", // Base directory to resolve non-relative module names
"paths": {
"*": ["node_modules/*", "*"] // Allow module resolution for packages
},
"lib": ["ES2016", "DOM"] // Use ES2016 and DOM library support
},
"include": ["src/**/*.ts"], // Specify the files to be included in the compilation
"exclude": ["node_modules", "**/*.spec.ts"] // Exclude certain files/folders from compilation
}