tsconfig.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "Node",
  6. "strict": false,
  7. "jsx": "preserve",
  8. "importHelpers": true,
  9. "experimentalDecorators": true,
  10. "strictFunctionTypes": false,
  11. "skipLibCheck": true,
  12. "esModuleInterop": true,
  13. "isolatedModules": true,
  14. "allowSyntheticDefaultImports": true,
  15. "forceConsistentCasingInFileNames": true,
  16. "sourceMap": true,
  17. "baseUrl": ".",
  18. "allowJs": false,
  19. "resolveJsonModule": true,
  20. "lib": ["dom", "esnext"],
  21. "paths": {
  22. "@/*": ["src/*"],
  23. "@build/*": ["build/*"],
  24. "@utils/*": ["src/utils/*"],
  25. "@hooks/*": ["src/hooks/*"],
  26. "@views/*": ["src/views/*"],
  27. "@store/*": ["src/store/*"],
  28. "@components/*": ["src/components/*"],
  29. "@api/*": ["src/api/*"],
  30. },
  31. "types": [
  32. "node",
  33. "vite/client",
  34. "element-plus/global",
  35. "@pureadmin/table/volar",
  36. "@pureadmin/descriptions/volar"
  37. ]
  38. },
  39. "include": [
  40. "mock/*.ts",
  41. "src/**/*.ts",
  42. "src/**/*.tsx",
  43. "src/**/*.vue",
  44. "types/*.d.ts",
  45. "vite.config.ts"
  46. ],
  47. "exclude": ["dist", "**/*.js", "node_modules"]
  48. }