-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
22 lines (20 loc) · 1.02 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": {
/* Basic Options */
"target": "ES2020", // Specify ECMAScript target version.
"module": "CommonJS", // Specify module code generation.
"declaration": true, // Generates corresponding '.d.ts' file.
"outDir": "./dist", // Redirect output structure to the directory.
"rootDir": "./src", // Specify the root directory of input files.
"strict": true, // Enable all strict type-checking options.
/* Module Resolution Options */
"moduleResolution": "node", // Resolve modules using Node.js module resolution strategy.
"esModuleInterop": true, // Allows default imports from modules with no default export.
"resolveJsonModule": true, // Allows importing '.json' files.
/* Advanced Options */
"skipLibCheck": true, // Skip type checking of declaration files.
"forceConsistentCasingInFileNames": true // Disallow inconsistently-cased references to the same file.
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.test.ts"]
}