package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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": "LOG_LEVEL=fatal 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": "LOG_LEVEL=fatal mocha --loader=esmock --recursive --reporter spec $@ 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'",
  16. "format:fix": "prettier --write $PWD/'**/*.js'",
  17. "lint:fix": "eslint --fix ."
  18. },
  19. "dependencies": {
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/settings": "*",
  23. "async": "^3.2.2",
  24. "body-parser": "^1.19.0",
  25. "bunyan": "^1.8.15",
  26. "express": "^4.18.2",
  27. "mongodb": "^6.1.0",
  28. "request": "~2.88.2",
  29. "underscore": "~1.13.1"
  30. },
  31. "devDependencies": {
  32. "chai": "^4.3.6",
  33. "chai-as-promised": "^7.1.1",
  34. "esmock": "^2.1.0",
  35. "mocha": "^10.2.0",
  36. "sinon": "~9.0.1",
  37. "sinon-chai": "^3.7.0",
  38. "typescript": "^5.0.4"
  39. }
  40. }