31 lines
746 B
JSON
31 lines
746 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["esnext", "dom"],
|
|
"target": "es6",
|
|
"module": "esnext",
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"allowImportingTsExtensions": true,
|
|
"allowArbitraryExtensions": true,
|
|
"isolatedModules": true,
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"declarationDir": "dist/types",
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["./dist", "./test"]
|
|
}
|