package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 --reporter spec --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 --reporter spec --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. "format": "prettier --list-different $PWD/'**/{*.*js,Jenkinsfile}'",
  16. "format:fix": "prettier --write $PWD/'**/{*.*js,Jenkinsfile}'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/mongo-utils": "*",
  24. "@overleaf/settings": "*",
  25. "async": "^3.2.5",
  26. "body-parser": "^1.20.3",
  27. "bunyan": "^1.8.15",
  28. "express": "^4.21.2",
  29. "mongodb": "6.12.0",
  30. "request": "^2.88.2",
  31. "underscore": "~1.13.1"
  32. },
  33. "devDependencies": {
  34. "chai": "^4.3.6",
  35. "chai-as-promised": "^7.1.1",
  36. "esmock": "^2.6.3",
  37. "mocha": "^11.1.0",
  38. "sinon": "~9.0.1",
  39. "sinon-chai": "^3.7.0",
  40. "typescript": "^5.0.4"
  41. }
  42. }