package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.17.1",
  28. "method-override": "^3.0.0",
  29. "mongodb": "^3.6.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. "mocha": "^8.4.0",
  37. "sandboxed-module": "^2.0.4",
  38. "sinon": "^9.2.4"
  39. }
  40. }