auto-print / files / tsconfig.json
tsconfig.json
| 1 | { |
| 2 | // Type checking only (npm run typecheck). tsconfig.build.json writes dist/. |
| 3 | // Node runs the .ts files directly, so the code only uses syntax that Node can strip. |
| 4 | "compilerOptions": { |
| 5 | "target": "ES2023", |
| 6 | "module": "NodeNext", |
| 7 | "moduleResolution": "NodeNext", |
| 8 | "lib": ["ES2023"], |
| 9 | "types": ["node"], |
| 10 | "strict": true, |
| 11 | "noUncheckedIndexedAccess": true, |
| 12 | "noUnusedLocals": true, |
| 13 | "noUnusedParameters": true, |
| 14 | "erasableSyntaxOnly": true, |
| 15 | "verbatimModuleSyntax": true, |
| 16 | "allowImportingTsExtensions": true, |
| 17 | "rewriteRelativeImportExtensions": true, |
| 18 | "skipLibCheck": true, |
| 19 | "noEmit": true |
| 20 | }, |
| 21 | "include": ["src", "test"] |
| 22 | } |