tsconfig.json 779 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "lib": ["DOM", "DOM.Iterable", "ESNext"],
  5. "types": ["vitest/globals", "@testing-library/jest-dom"],
  6. "module": "ESNext",
  7. "skipLibCheck": true,
  8. /* Bundler mode */
  9. "moduleResolution": "bundler",
  10. "allowImportingTsExtensions": true,
  11. "resolveJsonModule": true,
  12. "isolatedModules": true,
  13. "noEmit": true,
  14. "jsx": "react-jsx",
  15. /* Linting */
  16. "strict": true,
  17. "noUnusedLocals": true,
  18. "noUnusedParameters": true,
  19. "noFallthroughCasesInSwitch": true,
  20. "baseUrl": ".",
  21. "esModuleInterop": true,
  22. "paths": {
  23. "~/*": ["./src/*"],
  24. "@nm/*": ["./node_modules/*"]
  25. }
  26. },
  27. "include": ["src"],
  28. "references": [
  29. {
  30. "path": "./tsconfig.node.json"
  31. }
  32. ]
  33. }