tsconfig.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "baseUrl": ".",
  18. "paths": {
  19. "@/*": ["./frontend/js/*"],
  20. "@modules/*": ["./modules/*"],
  21. "@overleaf/o-error": ["../../libraries/o-error"],
  22. "@overleaf/ranges-tracker": ["../../libraries/ranges-tracker"],
  23. "@ol-types/*": ["./types/*"],
  24. "@ol-storybook/*": ["./.storybook/*"],
  25. "@wf/*": ["./modules/writefull/frontend/js/integration/src/*"],
  26. "@wf-tests/*": ["./modules/writefull/frontend/js/integration/tests/*"]
  27. },
  28. "types": [
  29. "cypress",
  30. "@testing-library/cypress",
  31. "reflect-metadata",
  32. "vitest/globals",
  33. "@testing-library/jest-dom",
  34. "@types/dom-speech-recognition"
  35. ]
  36. },
  37. "include": [
  38. "frontend/js/**/*.*",
  39. "modules/**/frontend/js/**/*.*",
  40. "test/frontend/**/*.*",
  41. "modules/**/test/frontend/**/*.*",
  42. "frontend/stories/**/*.*",
  43. "modules/**/stories/**/*.*",
  44. ".storybook/*.*",
  45. "cypress",
  46. "types"
  47. ],
  48. "exclude": [
  49. "**/*.min.js",
  50. "modules/writefull/frontend/js/integration/src/vite-env.d.ts"
  51. ]
  52. }