-
Notifications
You must be signed in to change notification settings - Fork 15
/
tsconfig.json
22 lines (22 loc) · 1.23 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
{
"compilerOptions": {
"target": "es2017", // Specify ECMAScript target version
"module": "esnext", // Specify module code generation
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Enables emit interoperability between CommonJS and ES Modules
"skipLibCheck": true, // Skip type checking of all declaration files (*.d.ts)
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
"baseUrl": ".", // Base directory to resolve non-relative module names
"paths": {
"*": ["node_modules/*", "src/types/*"] // Specify paths for modules
},
"allowJs": true, // Allow JavaScript files to be compiled.
"outDir": "./dist", // Redirect output structure to the directory
"rootDir": "./javascript", // Specify the root directory of input files
"moduleResolution": "node", // Specify module resolution strategy
"resolveJsonModule": true, // Include modules imported with '.json' extension
"sourceMap": true // Generates corresponding '.map' file
},
"include": ["./javascript/**/*"], // Include all files in the javascript directory
"exclude": ["node_modules", "**/*.spec.ts"] // Exclude node_modules and test files
}