package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "@overleaf/logger",
  3. "homepage": "www.overleaf.com",
  4. "description": "A centralised logging system for Overleaf",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/overleaf/overleaf"
  8. },
  9. "main": "index.js",
  10. "exports": {
  11. ".": "./index.js",
  12. "./*": "./*"
  13. },
  14. "license": "AGPL-3.0-only",
  15. "version": "3.1.1",
  16. "scripts": {
  17. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  18. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  19. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  20. "test:ci": "yarn run test:unit",
  21. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  22. "types:check": "tsc --noEmit"
  23. },
  24. "dependencies": {
  25. "@google-cloud/logging-bunyan": "^5.1.0",
  26. "@overleaf/fetch-utils": "workspace:*",
  27. "@overleaf/o-error": "workspace:*",
  28. "bunyan": "^1.8.14"
  29. },
  30. "devDependencies": {
  31. "@types/node": "^24.5.2",
  32. "chai": "^4.3.6",
  33. "eslint": "^10.4.0",
  34. "mocha": "^11.1.0",
  35. "mocha-junit-reporter": "^2.2.1",
  36. "mocha-multi-reporters": "^1.5.1",
  37. "sandboxed-module": "^2.0.4",
  38. "sinon": "^9.2.4",
  39. "sinon-chai": "^3.7.0",
  40. "typescript": "^5.0.4"
  41. },
  42. "peerDependencies": {
  43. "@overleaf/metrics": "workspace:*"
  44. }
  45. }