tsconfig.json 1.1 KB

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