A social knowledge tool for researchers built on ATProto
at development 1.6 kB view raw
1{ 2 "compilerOptions": { 3 /* Base Options: */ 4 "esModuleInterop": true, 5 "skipLibCheck": true, 6 "target": "ES2022", // Or a newer version like ESNext if preferred 7 "allowJs": true, 8 "resolveJsonModule": true, 9 "moduleDetection": "force", 10 "isolatedModules": true, // Recommended for build tools like esbuild/swc 11 12 /* Strictness */ 13 "strict": true, 14 "noUncheckedIndexedAccess": true, // Recommended for stricter array/object access 15 // "noImplicitOverride": true, // Consider enabling later if needed 16 17 /* If NOT transpiling with ESM bundler: */ 18 "module": "CommonJS", // Output module format 19 "outDir": "./dist", 20 "sourceMap": true, // Generate source maps for debugging 21 22 /* If your code runs in the DOM: 23 "lib": ["es2022", "dom", "dom.iterable"], */ 24 /* If your code doesn't run in the DOM: */ 25 "lib": ["es2022"], 26 27 /* Module Resolution Options */ 28 "moduleResolution": "node", // Or "NodeNext" if using newer Node.js features/ESM imports extensively 29 "baseUrl": ".", // Base directory for path aliases (if any) 30 // "paths": {}, // Path mapping configuration (if needed) 31 32 /* Emit Options */ 33 "declaration": false, // Don't emit .d.ts files for an application 34 "noEmit": false // Ensure JS files are emitted (set to true if using a bundler like esbuild/swc for emit) 35 36 /* Project Structure */ 37 // "rootDir": "./src" // Removed: Let TS infer the root from 'include' paths 38 }, 39 "include": ["src/**/*", "tests/**/*"], // Include source and test files 40 "exclude": ["node_modules", "dist", "src/webapp/**/*"] // Exclude build output and dependencies 41}