tsconfig.json 752 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "compilerOptions": {
  3. "target": "ES5",
  4. "module": "ESNext",
  5. "lib": ["ES2020", "DOM"],
  6. "moduleResolution": "bundler",
  7. "strict": true,
  8. "esModuleInterop": true,
  9. "skipLibCheck": true,
  10. "forceConsistentCasingInFileNames": true,
  11. "declaration": true,
  12. "declarationMap": true,
  13. "sourceMap": true,
  14. "outDir": "./dist",
  15. "rootDir": ".",
  16. "jsx": "react-jsx",
  17. "resolveJsonModule": true,
  18. "allowSyntheticDefaultImports": true,
  19. "downlevelIteration": true,
  20. "experimentalDecorators": true,
  21. "emitDecoratorMetadata": true,
  22. "types": ["react", "node"],
  23. "baseUrl": ".",
  24. "paths": {
  25. "@/*": ["src/*"]
  26. }
  27. },
  28. "include": ["src/**/*", "tests"],
  29. "exclude": ["node_modules", "dist"]
  30. }