tsconfig.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "compilerOptions": {
  3. "baseUrl": ".",
  4. "target": "esnext",
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "lib": [
  8. "esnext",
  9. "es6",
  10. "dom",
  11. "dom.iterable",
  12. "scripthost"
  13. ],
  14. "useDefineForClassFields": true,
  15. "strict": true,
  16. "jsx": "preserve",
  17. "sourceMap": false,
  18. "allowJs": true,
  19. "checkJs": true,
  20. "resolveJsonModule": true,
  21. "esModuleInterop": true,
  22. "noImplicitAny": false,
  23. "alwaysStrict": true,
  24. "skipLibCheck": true,
  25. "types": [
  26. "@dcloudio/types",
  27. "@types/lodash-es",
  28. "vite/client",
  29. "miniprogram-api-typings",
  30. "mini-types"
  31. ],
  32. "typeRoots": [
  33. "types",
  34. "node_modules/@types"
  35. ],
  36. "paths": {
  37. "@/*": [
  38. "src/*"
  39. ]
  40. }
  41. },
  42. "include": [
  43. "src/**/*.ts",
  44. "src/**/*.js",
  45. "src/**/*.d.ts",
  46. "src/**/*.tsx",
  47. "src/**/*.vue",
  48. "types/**/*.d.ts",
  49. "src/**/*.d.ts"
  50. ],
  51. "exclude": [
  52. "node_modules",
  53. "test",
  54. "dist",
  55. ".history"
  56. ],
  57. "files": ["index.ts"]
  58. }