tsconfig.json 724 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "compilerOptions": {
  3. "target": "ES2020",
  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. "experimentalDecorators": true,
  20. "emitDecoratorMetadata": true,
  21. "types": ["react", "node"],
  22. "baseUrl": ".",
  23. "paths": {
  24. "@/*": ["src/*"]
  25. }
  26. },
  27. "include": ["src/**/*", "tests"],
  28. "exclude": ["node_modules", "dist"]
  29. }