tsconfig.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "allowJs": true,
  6. "resolveJsonModule": true,
  7. "jsx": "preserve",
  8. "noEmit": true,
  9. "strict": true,
  10. "moduleResolution": "bundler",
  11. "isolatedModules": true,
  12. "esModuleInterop": true,
  13. "skipLibCheck": true,
  14. "forceConsistentCasingInFileNames": true,
  15. "experimentalDecorators": true,
  16. "emitDecoratorMetadata": true,
  17. "allowImportingTsExtensions": true,
  18. "baseUrl": ".",
  19. "paths": {
  20. "@/*": ["./frontend/js/*"],
  21. "@modules/*": ["./modules/*"],
  22. "@overleaf/o-error": ["../../libraries/o-error"],
  23. "@overleaf/ranges-tracker": ["../../libraries/ranges-tracker"],
  24. "@ol-types/*": ["./types/*"],
  25. "@ol-storybook/*": ["./.storybook/*"],
  26. "@wf/*": ["./modules/writefull/frontend/js/integration/src/*"],
  27. "@wf-tests/*": ["./modules/writefull/frontend/js/integration/tests/*"]
  28. },
  29. "types": [
  30. "cypress",
  31. "@testing-library/cypress",
  32. "reflect-metadata",
  33. "vitest/globals",
  34. "@testing-library/jest-dom",
  35. "@types/dom-speech-recognition"
  36. ]
  37. },
  38. "include": [
  39. "frontend/js/**/*.*",
  40. "modules/**/frontend/js/**/*.*",
  41. "modules/*/shared/**/*.*",
  42. "test/frontend/**/*.*",
  43. "modules/**/test/frontend/**/*.*",
  44. "frontend/stories/**/*.*",
  45. "modules/**/stories/**/*.*",
  46. ".storybook/*.*",
  47. "cypress",
  48. "types"
  49. ],
  50. "exclude": [
  51. "**/*.min.js",
  52. "modules/writefull/frontend/js/integration/src/vite-env.d.ts"
  53. ]
  54. }