tsconfig.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "@overleaf/validation-tools": ["../../libraries/validation-tools"],
  24. "overleaf-editor-core": ["../../libraries/overleaf-editor-core"],
  25. "overleaf-editor-core/*": ["../../libraries/overleaf-editor-core/*"],
  26. "@ol-types/*": ["./types/*"],
  27. "@ol-storybook/*": ["./.storybook/*"],
  28. "@wf/*": ["./modules/writefull/frontend/js/integration/src/*"],
  29. "@wf-tests/*": ["./modules/writefull/frontend/js/integration/tests/*"]
  30. },
  31. "types": [
  32. "cypress",
  33. "@testing-library/cypress",
  34. "reflect-metadata",
  35. "vitest/globals",
  36. "@testing-library/jest-dom",
  37. "@types/dom-speech-recognition"
  38. ]
  39. },
  40. "include": [
  41. "frontend/js/**/*.*",
  42. "modules/**/frontend/js/**/*.*",
  43. "test/frontend/**/*.*",
  44. "modules/**/test/frontend/**/*.*",
  45. "frontend/stories/**/*.*",
  46. "modules/**/stories/**/*.*",
  47. ".storybook/*.*",
  48. "cypress",
  49. "types"
  50. ],
  51. "exclude": [
  52. "**/*.min.js",
  53. "modules/writefull/frontend/js/integration/src/vite-env.d.ts"
  54. ]
  55. }