-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtsconfig.json
27 lines (27 loc) · 1.01 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": "es6", // Set the JavaScript version target
"module": "commonjs", // CommonJS modules for Node.js
"esModuleInterop": true, // Enables import/export compatibility
"allowJs": true, // Allow JavaScript files to be compiled
"outDir": "./dist", // Redirect output structure to the directory
"baseUrl": ".", // Base directory to resolve non-relative module names
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"paths": {
"@commands/*": ["src/commands/*"], // Maps to the commands folder
"@lib/*": ["src/lib/*"], // Maps to the lib folder
"@constants": ["src/constants"], // Maps to the constants.js file
"@config": ["src/config"] // Maps to the config.js file
}
},
"include": [
"src/**/*.ts", // Include all TypeScript files in src
"src/**/*.js" // Include all JavaScript files in src
],
"exclude": [
"node_modules", // Exclude node_modules
".vscode",
"**/*.spec.ts" // Exclude test files
]
}