tsconfig.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "node",
  6. "strict": true,
  7. "forceConsistentCasingInFileNames": true,
  8. "allowSyntheticDefaultImports": true,
  9. "strictFunctionTypes": false,
  10. "jsx": "preserve",
  11. "baseUrl": ".",
  12. "allowJs": true,
  13. "sourceMap": true,
  14. "esModuleInterop": true,
  15. "resolveJsonModule": true,
  16. "noUnusedLocals": true,
  17. "noUnusedParameters": true,
  18. "experimentalDecorators": true,
  19. "lib": ["dom", "esnext"],
  20. "types": ["vite/client", "jest"],
  21. "typeRoots": ["./node_modules/@types/", "./types"],
  22. "noImplicitAny": false,
  23. "skipLibCheck": true,
  24. "paths": {
  25. "/@/*": ["src/*"],
  26. "/#/*": ["types/*"]
  27. }
  28. },
  29. "include": [
  30. "tests/**/*.ts",
  31. "src/**/*.ts",
  32. "src/**/*.d.ts",
  33. "src/**/*.tsx",
  34. "src/**/*.vue",
  35. "types/**/*.d.ts",
  36. "types/**/*.ts",
  37. "build/**/*.ts",
  38. "build/**/*.d.ts",
  39. "mock/**/*.ts",
  40. "vite.config.ts"
  41. ],
  42. "exclude": ["node_modules", "tests/server/**/*.ts", "dist", "**/*.js"]
  43. }