package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "@overleaf/metrics",
  3. "version": "4.0.0",
  4. "description": "A drop-in metrics and monitoring module for node.js apps",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/overleaf/metrics-module.git"
  8. },
  9. "dependencies": {
  10. "@google-cloud/debug-agent": "^5.1.2",
  11. "@google-cloud/profiler": "^4.1.3",
  12. "@google-cloud/trace-agent": "^5.1.1",
  13. "compression": "^1.7.4",
  14. "prom-client": "^11.1.3",
  15. "yn": "^3.1.1"
  16. },
  17. "devDependencies": {
  18. "bunyan": "^1.0.0",
  19. "chai": "^4.2.0",
  20. "mocha": "^8.0.1",
  21. "sandboxed-module": "^2.0.4",
  22. "sinon": "^9.0.2"
  23. },
  24. "scripts": {
  25. "lint": "../../node_modules/.bin/eslint --max-warnings 0 --format unix .",
  26. "lint:fix": "../../node_modules/.bin/eslint --fix .",
  27. "test:unit": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/unit",
  28. "test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
  29. "test": "npm run test:unit && npm run test:acceptance",
  30. "format": "../../node_modules/.bin/prettier --list-different $PWD/'**/*.js'",
  31. "format:fix": "../../node_modules/.bin/prettier --write $PWD/'**/*.js'",
  32. "test:ci": "npm run test"
  33. },
  34. "peerDependencies": {
  35. "@overleaf/logger": ">= 3.0.0"
  36. }
  37. }