tsconfig.json 1007 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "@@/*": ["./src/.umi/*"]
  24. }
  25. },
  26. "include": [
  27. "mock/**/*",
  28. "src/**/*",
  29. "playwright.config.ts",
  30. "tests/**/*",
  31. "test/**/*",
  32. "__test__/**/*",
  33. "typings/**/*",
  34. "config/**/*",
  35. ".eslintrc.js",
  36. ".stylelintrc.js",
  37. ".prettierrc.js",
  38. "jest.config.js",
  39. "mock/*"
  40. ],
  41. "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
  42. }