tsconfig.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "ignoreDeprecations": "5.0",
  17. "noUnusedLocals": true,
  18. "allowJs": true,
  19. "skipLibCheck": true,
  20. "experimentalDecorators": true,
  21. "strict": true,
  22. "paths": {
  23. "@/*": ["./src/*"],
  24. "@@/*": ["./src/.umi/*"],
  25. "*": ["node_modules/*"]
  26. }
  27. },
  28. "include": [
  29. "mock/**/*",
  30. "src/**/*",
  31. "playwright.config.ts",
  32. "tests/**/*",
  33. "test/**/*",
  34. "__test__/**/*",
  35. "typings/**/*",
  36. "config/**/*",
  37. ".eslintrc.js",
  38. ".stylelintrc.js",
  39. ".prettierrc.js",
  40. "jest.config.js",
  41. "mock/*"
  42. ],
  43. "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
  44. }