tsconfig.json 974 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "extends": "../../tsconfig.base.json",
  3. "compilerOptions": {
  4. "target": "ES2020",
  5. "useDefineForClassFields": true,
  6. "module": "ESNext",
  7. "lib": ["ES2020", "DOM", "DOM.Iterable"],
  8. "skipLibCheck": true,
  9. "moduleResolution": "bundler",
  10. "allowImportingTsExtensions": true,
  11. "resolveJsonModule": true,
  12. "isolatedModules": true,
  13. "noEmit": true,
  14. "jsx": "preserve",
  15. "strict": true,
  16. "noUnusedLocals": true,
  17. "noUnusedParameters": true,
  18. "noFallthroughCasesInSwitch": true,
  19. "baseUrl": ".",
  20. "paths": {
  21. "@/*": ["src/*"],
  22. "@smartcut/types": ["../../packages/types/src"],
  23. "@smartcut/api-client": ["../../packages/api-client/src"],
  24. "@smartcut/shared-utils": ["../../packages/shared-utils/src"],
  25. "@smartcut/shared-components": ["../../packages/shared-components/src"]
  26. }
  27. },
  28. "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
  29. "references": [{ "path": "./tsconfig.node.json" }]
  30. }