tsconfig.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "compilerOptions": {
  3. "target": "es5",
  4. "lib": [
  5. "dom",
  6. "dom.iterable",
  7. "es6"
  8. ],
  9. "allowJs": true,
  10. "checkJs": true,
  11. "skipLibCheck": true,
  12. "esModuleInterop": true,
  13. "allowSyntheticDefaultImports": true,
  14. "forceConsistentCasingInFileNames": true,
  15. "module": "esnext",
  16. "moduleResolution": "node",
  17. "resolveJsonModule": true,
  18. "isolatedModules": true,
  19. "noEmit": true,
  20. "jsx": "preserve",
  21. "declaration": false,
  22. "declarationMap": false,
  23. "sourceMap": true,
  24. "baseUrl": ".",
  25. "paths": {
  26. "@/*": ["src/*"],
  27. "@/api/*": ["src/api/*"],
  28. "@/assets/*": ["src/assets/*"],
  29. "@/components/*": ["src/components/*"],
  30. "@/config/*": ["src/config/*"],
  31. "@/constants/*": ["src/constants/*"],
  32. "@/lang/*": ["src/lang/*"],
  33. "@/mixins/*": ["src/mixins/*"],
  34. "@/router/*": ["src/router/*"],
  35. "@/store/*": ["src/store/*"],
  36. "@/styles/*": ["src/styles/*"],
  37. "@/types/*": ["src/types/*"],
  38. "@/util/*": ["src/util/*"],
  39. "@/views/*": ["src/views/*"]
  40. },
  41. "types": [
  42. "node",
  43. "webpack-env"
  44. ],
  45. "typeRoots": [
  46. "node_modules/@types",
  47. "src/types"
  48. ],
  49. "experimentalDecorators": true,
  50. "emitDecoratorMetadata": true,
  51. "noImplicitAny": true,
  52. "noImplicitReturns": true,
  53. "noImplicitThis": true,
  54. "strictNullChecks": true,
  55. "strictPropertyInitialization": true,
  56. "strictBindCallApply": true,
  57. "strictFunctionTypes": true
  58. },
  59. "include": [
  60. "src/**/*.ts",
  61. "src/**/*.tsx",
  62. "src/**/*.vue",
  63. "src/**/*.js",
  64. "src/**/*.jsx",
  65. "src/types/**/*.d.ts"
  66. ],
  67. "exclude": [
  68. "node_modules",
  69. "dist",
  70. "public",
  71. "**/*.spec.ts",
  72. "**/*.test.ts"
  73. ],
  74. "compileOnSave": false
  75. }