-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
27 lines (27 loc) · 1.21 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"compilerOptions": {
"target": "ESNext", // Use modern ECMAScript features
"module": "NodeNext", // ES module syntax for modern environments
"moduleResolution": "nodenext", // Resolve modules in the Node.js style
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enable compatibility for CommonJS modules
"forceConsistentCasingInFileNames": true, // Enforce consistent file name casing
"skipLibCheck": true, // Skip type checking of declaration files
"rootDir": "./src", // Root directory of source files
"resolveJsonModule": true, // Allow importing JSON files
"typeRoots": ["./node_modules/@types"], // Include type definitions from node_modules
"lib": ["ESNext"], // Include libraries for modern JavaScript and browser APIs
"noEmit": true,
"allowImportingTsExtensions": true
},
"include": [
"src/**/*.ts", // Include all TypeScript files in the src directory
"src/**/*.d.ts" // Include type declaration files
],
"exclude": [
"node_modules", // Exclude dependencies
"dist", // Exclude the build output folder
"**/*.test.ts", // Optionally exclude test files
"**/*.spec.ts" // Optionally exclude spec files
]
}