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": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  14. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  15. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  16. "lint": "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix .",
  17. "lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
  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. "bunyan": "^1.8.14"
  27. },
  28. "devDependencies": {
  29. "chai": "^4.3.6",
  30. "mocha": "^11.1.0",
  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": "*"
  38. }
  39. }