-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
32 lines (30 loc) · 1.84 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
30
31
32
{
"compilerOptions": {
/* Basic Options */
"target": "es5", // Specify ECMAScript target version
"module": "commonjs", // Specify module code generation
"lib": ["es6", "dom"], // Specify library files to be included in the compilation
"outDir": "./data", // Redirect output structure to the directory
"rootDir": "./", // Specify the root directory of input files
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables emit interoperability between CommonJS and ES Modules
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
/* Module Resolution Options */
"moduleResolution": "node", // Resolve modules using Node.js style
"baseUrl": "./", // Base directory to resolve non-relative module names
"paths": { // A series of entries which re-map imports to lookup locations relative to the 'baseUrl'
"*": ["node_modules/*", "src/types/*"]
},
/* Advanced Options */
"resolveJsonModule": true, // Include modules imported with .json extension
"allowSyntheticDefaultImports": true // Allow default imports from modules with no default export
},
"include": [
"**/*" // Include all files in the root directory
],
"exclude": [
"node_modules", // Exclude the node_modules directory
"**/*.spec.ts" // Exclude test files
]
}