tsconfig.storybook.json 1008 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "compilerOptions": {
  3. "outDir": "build/lib",
  4. "module": "commonjs",
  5. "target": "es5",
  6. "lib": ["dom", "dom.iterable", "esnext"],
  7. "sourceMap": true,
  8. "allowJs": true,
  9. "jsx": "react",
  10. "moduleResolution": "node",
  11. "rootDirs": ["src", "stories"],
  12. "baseUrl": "src",
  13. "paths": {
  14. "@/icons/*": ["../public/icons/*"],
  15. "@/public/*": ["../public/*"],
  16. "@/dls/*": ["./components/dls/*"],
  17. "@/api/*": ["./api/*"],
  18. "@/data/*": ["../data/*"],
  19. "@/types/*": ["../types/*"],
  20. "@/*": ["./*"],
  21. },
  22. "forceConsistentCasingInFileNames": true,
  23. "suppressImplicitAnyIndexErrors": true,
  24. "noUnusedLocals": true,
  25. "declaration": true,
  26. "esModuleInterop": true,
  27. "allowSyntheticDefaultImports": true,
  28. "experimentalDecorators": true,
  29. "emitDecoratorMetadata": true
  30. },
  31. "include": [
  32. "src/**/*.stories.tsx",
  33. "types/**/*.ts",
  34. "module.d.ts",
  35. "global.d.ts"
  36. ],
  37. "exclude": ["node_modules", "build", "scripts"]
  38. }