package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/settings": "*",
  24. "async": "^3.2.2",
  25. "body-parser": "^1.19.0",
  26. "bunyan": "^1.8.15",
  27. "express": "^4.18.2",
  28. "mongodb": "^6.1.0",
  29. "request": "~2.88.2",
  30. "underscore": "~1.13.1"
  31. },
  32. "devDependencies": {
  33. "chai": "^4.3.6",
  34. "chai-as-promised": "^7.1.1",
  35. "esmock": "^2.1.0",
  36. "mocha": "^10.2.0",
  37. "sinon": "~9.0.1",
  38. "sinon-chai": "^3.7.0",
  39. "typescript": "^5.0.4"
  40. }
  41. }