tsconfig.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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","./node_modules"],
  22. "noImplicitAny": false,
  23. "skipLibCheck": true,
  24. "paths": {
  25. "/@/*": ["src/*"],
  26. "/#/*": ["types/*"],
  27. "@/*": ["src/*"],
  28. "#/*": ["types/*"]
  29. }
  30. },
  31. "include": [
  32. "tests/**/*.ts",
  33. "src/**/*.ts",
  34. "src/**/*.d.ts",
  35. "src/**/*.tsx",
  36. "src/**/*.vue",
  37. "types/**/*.d.ts",
  38. "types/**/*.ts",
  39. "build/**/*.ts",
  40. "build/**/*.d.ts",
  41. "mock/**/*.ts",
  42. "vite.config.ts"
  43. ],
  44. "exclude": ["node_modules", "tests/server/**/*.ts", "dist", "**/*.js"]
  45. }