-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
29 lines (28 loc) · 1.49 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
28
29
{
"compilerOptions": {
"target": "ES6", /* Specify ECMAScript target version */
"module": "commonjs", /* Specify module code generation */
"outDir": "./out", /* 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 interoperability between CommonJS and ES Modules */
"resolveJsonModule": true, /* Allows importing JSON files as modules */
"forceConsistentCasingInFileNames": true, /* Enforce consistent file casing */
"declaration": true, /* Generate corresponding .d.ts files */
"sourceMap": true, /* Generate source maps for debugging */
"skipLibCheck": true, /* Skip type checking of declaration files */
"baseUrl": ".", /* Base directory to resolve non-absolute module names */
"paths": {
"*": ["node_modules/*", "src/types/*"] /* Module name mapping */
}
},
"include": [
"src/**/*.ts", /* Include TypeScript files in 'src' directory */
"src/**/*.d.ts", /* Include declaration files in 'src' directory */
"src/**/*.json" /* Include JSON files in 'src' directory */
],
"exclude": [
"node_modules", /* Exclude 'node_modules' directory */
"out" /* Exclude 'out' directory where compiled files are generated */
]
}