tsconfig.json 920 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "compilerOptions": {
  3. "target": "es2022",
  4. "useDefineForClassFields": true,
  5. "module": "esnext",
  6. "lib": ["ES2022", "DOM", "DOM.Iterable"],
  7. "skipLibCheck": true,
  8. /* Bundler mode */
  9. "moduleResolution": "bundler",
  10. "allowImportingTsExtensions": true,
  11. "isolatedModules": true,
  12. "moduleDetection": "force",
  13. "noEmit": true,
  14. "jsx": "react-jsx",
  15. /* Linting */
  16. "strict": true,
  17. "noUnusedLocals": true,
  18. "noUnusedParameters": true,
  19. "noFallthroughCasesInSwitch": true,
  20. "noUncheckedSideEffectImports": true,
  21. "experimentalDecorators": true,
  22. "emitDecoratorMetadata": true,
  23. "baseUrl": ".",
  24. "paths": {
  25. "~/*": ["tests/*"],
  26. "@/*": ["src/*"],
  27. "@d8d/server/*": ["../packages/server/src/*"]
  28. },
  29. },
  30. "include": ["src", "tests"],
  31. "references": [
  32. { "path": "./tsconfig.node.json" },
  33. { "path": "../packages/server" }
  34. ]
  35. }