package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "@overleaf/contacts",
  3. "description": "An API for tracking contacts of a user",
  4. "private": true,
  5. "type": "module",
  6. "main": "app.js",
  7. "scripts": {
  8. "start": "node app.js",
  9. "test:acceptance:_run": "mocha --loader=esmock --recursive --timeout 15000 --exit $@ test/acceptance/js",
  10. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "mocha --loader=esmock --recursive --exit $@ test/unit/js",
  12. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  13. "nodemon": "node --watch app.js",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "lint:fix": "eslint --fix .",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "dependencies": {
  19. "@overleaf/logger": "*",
  20. "@overleaf/metrics": "*",
  21. "@overleaf/mongo-utils": "*",
  22. "@overleaf/settings": "*",
  23. "async": "^3.2.5",
  24. "body-parser": "1.20.4",
  25. "bunyan": "^1.8.15",
  26. "express": "4.22.1",
  27. "mongodb": "6.12.0",
  28. "request": "2.88.2",
  29. "underscore": "~1.13.1"
  30. },
  31. "devDependencies": {
  32. "@overleaf/migrations": "*",
  33. "chai": "^4.3.6",
  34. "chai-as-promised": "^7.1.1",
  35. "esmock": "^2.6.3",
  36. "mocha": "^11.1.0",
  37. "mocha-junit-reporter": "^2.2.1",
  38. "mocha-multi-reporters": "^1.5.1",
  39. "sinon": "~9.0.1",
  40. "sinon-chai": "^3.7.0",
  41. "typescript": "^5.0.4"
  42. }
  43. }