package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 $NODE_APP_OPTIONS 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": "nodemon --config nodemon.json",
  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. },
  18. "author": "",
  19. "license": "ISC",
  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. "method-override": "^3.0.0",
  29. "mongodb": "^4.11.0",
  30. "request": "^2.88.2"
  31. },
  32. "devDependencies": {
  33. "chai": "^4.3.6",
  34. "chai-as-promised": "^7.1.1",
  35. "mocha": "^10.2.0",
  36. "sandboxed-module": "^2.0.4",
  37. "sinon": "^9.2.4"
  38. }
  39. }