summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-08-17 23:50:24 -0700
committerElizabeth Hunt <me@liz.coffee>2025-08-17 23:53:38 -0700
commit1a4fc9535a89b58e8b67c8996ade0b833116af3a (patch)
treed16f3129d7bb69f204bba8422e909354195a0042 /tsconfig.json
parent157dc327e8fe63541b517cfbeeaf202a3e8553a5 (diff)
downloaduptime-1a4fc9535a89b58e8b67c8996ade0b833116af3a.tar.gz
uptime-1a4fc9535a89b58e8b67c8996ade0b833116af3a.zip
Move to pengueno.
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json54
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"]
}