package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "@overleaf/metrics",
  3. "version": "3.5.2",
  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. "eslint": "^7.8.1",
  21. "eslint-config-prettier": "^6.11.0",
  22. "eslint-config-standard": "^14.1.1",
  23. "eslint-plugin-chai-expect": "^2.2.0",
  24. "eslint-plugin-chai-friendly": "^0.6.0",
  25. "eslint-plugin-import": "^2.22.0",
  26. "eslint-plugin-mocha": "^8.0.0",
  27. "eslint-plugin-node": "^11.1.0",
  28. "eslint-plugin-promise": "^4.2.1",
  29. "eslint-plugin-standard": "^4.0.1",
  30. "mocha": "^8.0.1",
  31. "prettier-eslint-cli": "^5.0.0",
  32. "sandboxed-module": "^2.0.4",
  33. "sinon": "^9.0.2"
  34. },
  35. "scripts": {
  36. "lint": "eslint --max-warnings 0 .",
  37. "test:unit": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/unit",
  38. "test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
  39. "test": "npm run test:unit && npm run test:acceptance",
  40. "format": "prettier-eslint $PWD'/**/*.js' --list-different",
  41. "format:fix": "prettier-eslint $PWD'/**/*.js' --write",
  42. "test:ci": "npm run test"
  43. }
  44. }