package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.d.ts",
  11. "license": "AGPL-3.0-only",
  12. "version": "3.1.1",
  13. "scripts": {
  14. "test": "npm run lint && npm run format && npm run types:check && 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. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  21. "types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
  22. "types:check": "tsc --noEmit",
  23. "types:rebuild": "rm -rf types && npm run types:build"
  24. },
  25. "dependencies": {
  26. "@google-cloud/logging-bunyan": "^5.0.0",
  27. "@overleaf/fetch-utils": "*",
  28. "@overleaf/o-error": "*",
  29. "@sentry/node": "^6.13.2",
  30. "bunyan": "^1.8.14"
  31. },
  32. "devDependencies": {
  33. "chai": "^4.3.6",
  34. "mocha": "^10.2.0",
  35. "sandboxed-module": "^2.0.4",
  36. "sinon": "^9.2.4",
  37. "sinon-chai": "^3.7.0",
  38. "typescript": "^5.0.4"
  39. },
  40. "peerDependencies": {
  41. "@overleaf/metrics": "*"
  42. }
  43. }