tsconfig.json 913 B

1234567891011121314151617181920212223242526272829303132333435363738
  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",
  10. "allowSyntheticDefaultImports": true,
  11. "moduleResolution": "node",
  12. "forceConsistentCasingInFileNames": true,
  13. "noImplicitReturns": true,
  14. "suppressImplicitAnyIndexErrors": true,
  15. "noUnusedLocals": true,
  16. "allowJs": true,
  17. "skipLibCheck": true,
  18. "experimentalDecorators": true,
  19. "strict": true,
  20. "paths": {
  21. "@/*": ["./src/*"],
  22. "@@/*": ["./src/.umi/*"]
  23. }
  24. },
  25. "include": [
  26. "src/**/*",
  27. "tests/**/*",
  28. "test/**/*",
  29. "__test__/**/*",
  30. "typings/**/*",
  31. "config/**/*",
  32. ".eslintrc.js",
  33. ".stylelintrc.js",
  34. ".prettierrc.js",
  35. "jest.config.js"
  36. ],
  37. "exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
  38. }