package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "types": "types/index.js",
  11. "license": "AGPL-3.0-only",
  12. "version": "3.1.1",
  13. "scripts": {
  14. "test": "npm run lint && npm run format && npm run typecheck && npm run test:unit",
  15. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  16. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  17. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  18. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  19. "test:ci": "npm run test:unit",
  20. "typecheck": "tsc --noEmit",
  21. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  22. "update-types": "rm -rf types && tsc --emitDeclarationOnly"
  23. },
  24. "dependencies": {
  25. "@google-cloud/logging-bunyan": "^5.0.0",
  26. "@overleaf/fetch-utils": "*",
  27. "@overleaf/o-error": "*",
  28. "@sentry/node": "^6.13.2",
  29. "bunyan": "^1.8.14"
  30. },
  31. "devDependencies": {
  32. "chai": "^4.3.6",
  33. "mocha": "^10.2.0",
  34. "sandboxed-module": "^2.0.4",
  35. "sinon": "^9.2.4",
  36. "sinon-chai": "^3.7.0",
  37. "typescript": "^5.0.4"
  38. },
  39. "peerDependencies": {
  40. "@overleaf/metrics": "*"
  41. }
  42. }