-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
21 lines (21 loc) · 823 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"compilerOptions": {
"outDir": "./lib",
"target": "ES6",
"module": "CommonJS",
"declaration": true,
"moduleResolution": "Node",
"checkJs": false, // Disable checking of JavaScript files
"allowJs": true, // Allow JavaScript files to be included
"sourceMap": true,
"jsx": "react", // Specify the JSX factory function
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true, // Skip type checking of declaration files from dependencies
"forceConsistentCasingInFileNames": true,
"lib": ["ES6", "DOM"], // Include the necessary TypeScript library declarations
"rootDir": "./source" // Specify the root directory for your source code
},
"include": ["source/**/*.ts", "source/**/*.tsx"], // Include TypeScript and TSX files
"exclude": ["node_modules"]
}