-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
32 lines (32 loc) · 1.4 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": {
"target": "ES2019", // Define ECMAScript target version
"module": "commonjs", // Specify module code generation: 'commonjs' for Node.js apps
"strict": false, // Enable all strict type-checking options
"composite": true,
"esModuleInterop": true, // Allows default imports from modules with no default export
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
"resolveJsonModule": true, // Allows importing .json files
"outDir": "./dist", // Redirect output structure to the directory
"jsx":"react-jsx",
"rootDir": "./src", // Specify the root directory of input files
"removeComments": true, // Remove comments from the output files
"typeRoots": [ // Specifies a list of directories for type definitions
"./node_modules/@types",
"../../node_modules/@types"
],
"lib": [ // List of library files to be included in the compilation
"es6",
"dom",
"esnext.asynciterable"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"node_modules"
]
}