package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "@overleaf/notifications",
  3. "description": "An API to handle user notifications",
  4. "private": true,
  5. "main": "app.js",
  6. "scripts": {
  7. "start": "node app.js",
  8. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  11. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  12. "nodemon": "node --watch app.js",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/*.js'",
  15. "format:fix": "prettier --write $PWD/'**/*.js'",
  16. "lint:fix": "eslint --fix .",
  17. "types:check": "tsc --noEmit"
  18. },
  19. "author": "",
  20. "license": "ISC",
  21. "dependencies": {
  22. "@overleaf/logger": "*",
  23. "@overleaf/metrics": "*",
  24. "@overleaf/settings": "*",
  25. "async": "^3.2.5",
  26. "body-parser": "^1.19.0",
  27. "bunyan": "^1.8.15",
  28. "express": "^4.19.2",
  29. "method-override": "^3.0.0",
  30. "mongodb": "^6.1.0",
  31. "mongodb-legacy": "^6.0.1",
  32. "request": "^2.88.2"
  33. },
  34. "devDependencies": {
  35. "chai": "^4.3.6",
  36. "chai-as-promised": "^7.1.1",
  37. "mocha": "^10.2.0",
  38. "sandboxed-module": "^2.0.4",
  39. "sinon": "^9.2.4",
  40. "typescript": "^5.0.4"
  41. }
  42. }