tsconfig.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. "strict": true,
  15. "forceConsistentCasingInFileNames": true,
  16. "module": "esnext",
  17. "moduleResolution": "node",
  18. "resolveJsonModule": true,
  19. "isolatedModules": true,
  20. "noEmit": true,
  21. "jsx": "preserve",
  22. "declaration": false,
  23. "declarationMap": false,
  24. "sourceMap": true,
  25. "baseUrl": ".",
  26. "paths": {
  27. "@/*": ["src/*"],
  28. "@/api/*": ["src/api/*"],
  29. "@/assets/*": ["src/assets/*"],
  30. "@/components/*": ["src/components/*"],
  31. "@/config/*": ["src/config/*"],
  32. "@/constants/*": ["src/constants/*"],
  33. "@/lang/*": ["src/lang/*"],
  34. "@/mixins/*": ["src/mixins/*"],
  35. "@/router/*": ["src/router/*"],
  36. "@/store/*": ["src/store/*"],
  37. "@/styles/*": ["src/styles/*"],
  38. "@/types/*": ["src/types/*"],
  39. "@/util/*": ["src/util/*"],
  40. "@/views/*": ["src/views/*"]
  41. },
  42. "types": [
  43. "node",
  44. "webpack-env"
  45. ],
  46. "typeRoots": [
  47. "node_modules/@types",
  48. "src/types"
  49. ],
  50. "experimentalDecorators": true,
  51. "emitDecoratorMetadata": true,
  52. "noImplicitAny": true,
  53. "noImplicitReturns": true,
  54. "noImplicitThis": true,
  55. "strictNullChecks": true,
  56. "strictPropertyInitialization": true,
  57. "strictBindCallApply": true,
  58. "strictFunctionTypes": true
  59. },
  60. "include": [
  61. "src/**/*.ts",
  62. "src/**/*.tsx",
  63. "src/**/*.vue",
  64. "src/**/*.js",
  65. "src/**/*.jsx",
  66. "src/types/**/*.d.ts"
  67. ],
  68. "exclude": [
  69. "node_modules",
  70. "dist",
  71. "public",
  72. "**/*.spec.ts",
  73. "**/*.test.ts"
  74. ],
  75. "compileOnSave": false
  76. }