-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
22 lines (22 loc) · 914 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"compilerOptions": {
"target": "ES2019", // Target ECMAScript version
"module": "commonjs", // Module system to use (you can use "esnext" if using modern bundlers)
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Ensures compatibility with ES modules
"allowJs": true, // Allow JavaScript files to be compiled
"checkJs": true, // Enable type-checking in JavaScript files
"outDir": "./dist/js", // Output directory for compiled files
"rootDir": "./src", // Root directory of your source files
"resolveJsonModule": true, // Allows importing of .json files
"skipLibCheck": true // Skip type-checking of library declaration files
},
"include": [
"src/**/*.ts",
"src/**/*.js"
], // Include all JS and TS files in the src folder
"exclude": [
"node_modules",
"dist"
] // Exclude the node_modules and dist folders
}