package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  17. "lint:fix": "eslint --fix --ext .cjs,.js,.jsx,.mjs,.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. "mocha-junit-reporter": "^2.2.1",
  32. "mocha-multi-reporters": "^1.5.1",
  33. "sandboxed-module": "^2.0.4",
  34. "sinon": "^9.2.4",
  35. "sinon-chai": "^3.7.0",
  36. "typescript": "^5.0.4"
  37. },
  38. "peerDependencies": {
  39. "@overleaf/metrics": "*"
  40. }
  41. }