tsconfig.json 1000 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. "esModuleInterop": true,
  12. "allowSyntheticDefaultImports": true,
  13. "moduleResolution": "node",
  14. "forceConsistentCasingInFileNames": true,
  15. "noImplicitReturns": 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. }
  26. },
  27. "include": [
  28. "mock/**/*",
  29. "src/**/*",
  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. }