-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
21 lines (21 loc) · 1.41 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"extends": "@tsconfig/recommended/tsconfig.json",
"compilerOptions": {
"target": "ES6", // Sets the target ECMAScript version
"module": "ESNext", // Specifies the module system
"declaration": true,
"lib": ["DOM","ES7"],
"strict": true, // Enables all strict type-checking options
"esModuleInterop": true, // Ensures compatibility with ES6 module imports/exports
"skipLibCheck": true, // Skips type checking of all declaration files (*.d.ts)
"forceConsistentCasingInFileNames": true, // Ensures consistent file casing across the project
"moduleResolution": "node", // Sets module resolution for node.js modules
"allowSyntheticDefaultImports": true, // Allows default imports from modules with no default export
"outDir": "./dist", // Output directory for compiled files
"rootDir": "./src", // Root directory of source files
"sourceMap": true, // Generates source maps for debugging
"resolveJsonModule": true // Allows importing JSON files
},
"include": ["src"], // Files to include
"exclude": ["node_modules", "**/*.spec.ts"] // Files to exclude
}