package.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "@overleaf/notifications",
  3. "description": "An API to handle user notifications",
  4. "private": true,
  5. "main": "app.js",
  6. "type": "module",
  7. "scripts": {
  8. "start": "node app.js",
  9. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  10. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  11. "test:unit:_run": "vitest ${NO_CACHE:+\"--no-cache\"} $@ test/unit/js",
  12. "test:unit": "npm run test:unit:_run",
  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/mongo-utils": "*",
  25. "@overleaf/settings": "*",
  26. "@overleaf/promise-utils": "*",
  27. "async": "^3.2.5",
  28. "body-parser": "^1.20.3",
  29. "bunyan": "^1.8.15",
  30. "express": "^4.21.2",
  31. "method-override": "^3.0.0",
  32. "mongodb-legacy": "6.1.3",
  33. "request": "^2.88.2"
  34. },
  35. "devDependencies": {
  36. "@types/request": "^2.48.12",
  37. "chai-as-promised": "^7.1.1",
  38. "typescript": "^5.0.4",
  39. "vitest": "^3.2.4"
  40. }
  41. }