tsconfig.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "compilerOptions": {
  3. "target": "es5",
  4. "lib": [
  5. "dom",
  6. "dom.iterable",
  7. "es6"
  8. ],
  9. "allowJs": true,
  10. "skipLibCheck": true,
  11. "esModuleInterop": true,
  12. "allowSyntheticDefaultImports": true,
  13. "strict": false,
  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": false,
  52. "noImplicitReturns": false,
  53. "noImplicitThis": false,
  54. "strictNullChecks": false,
  55. "suppressImplicitAnyIndexErrors": true
  56. },
  57. "include": [
  58. "src/**/*.ts",
  59. "src/**/*.tsx",
  60. "src/**/*.vue",
  61. "src/**/*.js",
  62. "src/**/*.jsx",
  63. "src/types/**/*.d.ts"
  64. ],
  65. "exclude": [
  66. "node_modules",
  67. "dist",
  68. "public",
  69. "**/*.spec.ts",
  70. "**/*.test.ts"
  71. ],
  72. "compileOnSave": false
  73. }