package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. "dependencies": {
  23. "@google-cloud/logging-bunyan": "^5.1.0",
  24. "@overleaf/fetch-utils": "*",
  25. "@overleaf/o-error": "*",
  26. "@sentry/node": "^6.13.2",
  27. "bunyan": "^1.8.14"
  28. },
  29. "devDependencies": {
  30. "chai": "^4.3.6",
  31. "mocha": "^10.2.0",
  32. "sandboxed-module": "^2.0.4",
  33. "sinon": "^9.2.4",
  34. "sinon-chai": "^3.7.0",
  35. "typescript": "^5.0.4"
  36. },
  37. "peerDependencies": {
  38. "@overleaf/metrics": "*"
  39. }
  40. }