diff options
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 54 |
1 files changed, 29 insertions, 25 deletions
diff --git a/tsconfig.json b/tsconfig.json index 238655f..70e3f12 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,27 +1,31 @@ { - "compilerOptions": { - // Enable latest features - "lib": ["ESNext", "DOM"], - "target": "ESNext", - "module": "ESNext", - "moduleDetection": "force", - "jsx": "react-jsx", - "allowJs": true, - - // Bundler mode - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "verbatimModuleSyntax": true, - "noEmit": true, - - // Best practices - "strict": true, - "skipLibCheck": true, - "noFallthroughCasesInSwitch": true, - - // Some stricter flags (disabled by default) - "noUnusedLocals": false, - "noUnusedParameters": false, - "noPropertyAccessFromIndexSignature": false - } + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "baseUrl": ".", + "rootDir": "./", + "outDir": "./dist", + "declaration": true, + "moduleResolution": "node", + "strict": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "lib": ["ES2022"], + "paths": { + "@emprespresso/uptime": ["./lib/index.js"] + } + }, + "tsc-alias": { + "resolveFullPaths": true + }, + "include": ["lib/**/*.ts", "lib/**/*.js", "index.ts"], + "exclude": ["node_modules", "dist", "**/*.d.ts"] } |