package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. "license": "AGPL-3.0-only",
  11. "version": "3.1.1",
  12. "scripts": {
  13. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  14. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  16. "test:ci": "yarn run test:unit",
  17. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@google-cloud/logging-bunyan": "^5.1.0",
  22. "@overleaf/fetch-utils": "workspace:*",
  23. "@overleaf/o-error": "workspace:*",
  24. "bunyan": "^1.8.14"
  25. },
  26. "devDependencies": {
  27. "chai": "^4.3.6",
  28. "mocha": "^11.1.0",
  29. "mocha-junit-reporter": "^2.2.1",
  30. "mocha-multi-reporters": "^1.5.1",
  31. "sandboxed-module": "^2.0.4",
  32. "sinon": "^9.2.4",
  33. "sinon-chai": "^3.7.0",
  34. "typescript": "^5.0.4"
  35. },
  36. "peerDependencies": {
  37. "@overleaf/metrics": "workspace:*"
  38. }
  39. }