forked from xwinstone/canvastable
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
30 lines (30 loc) · 1.28 KB
/
tsconfig.json
File metadata and controls
30 lines (30 loc) · 1.28 KB
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
{
"compilerOptions": {
"lib": ["dom", "es6", "es2015", "es2016", "es2017", "es2020"], // Simplified lib array
"target": "ESNext", // Target the latest ECMAScript version
"module": "ESNext", // Use ESM modules
"sourceMap": true, // Generate source maps
"jsx": "preserve", // Use React JSX
"outDir": "dist", // Output directory for compiled files
"allowJs": true, // Allow JavaScript files
"declaration": true, // Generate .d.ts files
"declarationDir": "dist/types", // Output directory for .d.ts files
"moduleResolution": "node", // Use Node.js module resolution
"esModuleInterop": true, // Enable ES module interop
"allowSyntheticDefaultImports": true, // Allow synthetic default imports
"strict": false, // Enable all strict type-checking options
"skipLibCheck": true, // Skip type-checking of declaration files
"baseUrl": ".", // Base directory for path resolution
"paths": {
"@/*": ["./src/*"] // Optional: Set up path aliases
},
"typeRoots": ["./src/typings", "./node_modules/@types"] // Include custom typings and node_modules/@types
},
"exclude": [
"node_modules", // Exclude node_modules
"dist" // Exclude the output directory
],
"include": [
"./src/**/*" // Include all files in the src directory
]
}