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. "license": "AGPL-3.0-only",
  11. "version": "3.1.1",
  12. "scripts": {
  13. "test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  14. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  15. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  16. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  17. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  18. "test:ci": "npm run test:unit",
  19. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  20. "types:check": "tsc --noEmit"
  21. },
  22. "overrides": {
  23. "google-gax": {
  24. "protobufjs": "^7.2.5"
  25. }
  26. },
  27. "dependencies": {
  28. "@google-cloud/logging-bunyan": "^5.1.0",
  29. "@overleaf/fetch-utils": "*",
  30. "@overleaf/o-error": "*",
  31. "@sentry/node": "^6.13.2",
  32. "bunyan": "^1.8.14"
  33. },
  34. "devDependencies": {
  35. "chai": "^4.3.6",
  36. "mocha": "^10.2.0",
  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": "*"
  44. }
  45. }