tsconfig.json 979 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. "tests/**/*",
  30. "test/**/*",
  31. "__test__/**/*",
  32. "typings/**/*",
  33. "config/**/*",
  34. ".eslintrc.js",
  35. ".stylelintrc.js",
  36. ".prettierrc.js",
  37. "jest.config.js",
  38. "mock/*"
  39. ],
  40. "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
  41. }