forked from lyft/coloralgorithm
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathtsconfig.json
More file actions
27 lines (27 loc) · 1.26 KB
/
Copy pathtsconfig.json
File metadata and controls
27 lines (27 loc) · 1.26 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
{
"compilerOptions": {
"outDir": "./dist", // Specify an output directory for the compiled files
"declaration": true, // Generate corresponding '.d.ts' files
"declarationMap": true, // Generate source maps for '.d.ts' files (optional, useful for debugging)
"declarationDir": "./dist/types", // Specify the output directory for generated declaration files
"emitDeclarationOnly": false, // Set to true if you only want to generate declarations
"module": "ESNext", // Specify module code generation: 'CommonJS', 'ES6', etc.
"target": "ES6", // Specify ECMAScript target version: 'ES5', 'ES6', 'ESNext', etc.
"lib": ["ES2018", "DOM"], // Include modern JS features like array.includes()
"strict": true, // Enable all strict type-checking options
"esModuleInterop": true, // Allows default imports from modules with no default export
"skipLibCheck": false, // Skip type checking of declaration files (useful for large projects)
"forceConsistentCasingInFileNames": true, // Ensure consistent casing in file names
"types": [],
"moduleResolution": "bundler" // Module resolution for bundlers like Rollup
},
"include": [
"src",
"tests/**/*.ts"
],
"exclude": [
"node_modules",
"dist",
"rollup.config.mjs"
]
}