tsconfig.json 888 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "strict": true,
  6. "jsx": "preserve",
  7. "jsxImportSource": "vue",
  8. "moduleResolution": "node",
  9. "skipLibCheck": true,
  10. "esModuleInterop": true,
  11. "allowSyntheticDefaultImports": true,
  12. "forceConsistentCasingInFileNames": true,
  13. "useDefineForClassFields": true,
  14. "declaration": true,
  15. "declarationDir": "./types",
  16. "sourceMap": true,
  17. "allowJs": true,
  18. "baseUrl": ".",
  19. "types": [
  20. "jest",
  21. "vue"
  22. ],
  23. "paths": {
  24. "@/*": [
  25. "src/*"
  26. ]
  27. },
  28. "lib": [
  29. "esnext",
  30. "dom",
  31. "dom.iterable",
  32. "scripthost"
  33. ]
  34. },
  35. "include": [
  36. "src/**/*.ts",
  37. "src/**/*.tsx",
  38. "src/**/*.vue",
  39. "tests/**/*.ts",
  40. "tests/**/*.tsx",
  41. "types/**/*.d.ts",
  42. "types/**/*.ts"
  43. ],
  44. "exclude": [
  45. "node_modules"
  46. ]
  47. }