tsconfig.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "compilerOptions": {
  3. "outDir": "build/dist",
  4. "module": "esnext",
  5. "target": "esnext",
  6. "lib": ["esnext", "dom"],
  7. "sourceMap": true,
  8. "baseUrl": ".",
  9. "jsx": "react-jsx",
  10. "resolveJsonModule": true,
  11. "allowSyntheticDefaultImports": true,
  12. "moduleResolution": "node",
  13. "forceConsistentCasingInFileNames": true,
  14. "noImplicitReturns": true,
  15. "suppressImplicitAnyIndexErrors": true,
  16. "noUnusedLocals": true,
  17. "allowJs": true,
  18. "skipLibCheck": true,
  19. "experimentalDecorators": true,
  20. "strict": true,
  21. "paths": {
  22. "@/*": ["./src/*"],
  23. "@/public/*": ["./public/*"],
  24. "@@/*": ["./src/.umi/*"]
  25. }
  26. },
  27. "include": [
  28. "mock/**/*",
  29. "src/**/*",
  30. "playwright.config.ts",
  31. "tests/**/*",
  32. "test/**/*",
  33. "__test__/**/*",
  34. "typings/**/*",
  35. "config/**/*",
  36. ".eslintrc.js",
  37. ".stylelintrc.js",
  38. ".prettierrc.js",
  39. "jest.config.js",
  40. "mock/*"
  41. ],
  42. "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
  43. }