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. "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,Jenkinsfile}'",
  15. "format:fix": "prettier --write $PWD/'**/{*.*js,Jenkinsfile}'",
  16. "lint:fix": "eslint --fix .",
  17. "types:check": "tsc --noEmit"
  18. },
  19. "author": "",
  20. "license": "ISC",
  21. "dependencies": {
  22. "@overleaf/fetch-utils": "*",
  23. "@overleaf/logger": "*",
  24. "@overleaf/metrics": "*",
  25. "@overleaf/mongo-utils": "*",
  26. "@overleaf/settings": "*",
  27. "@overleaf/promise-utils": "*",
  28. "async": "^3.2.5",
  29. "body-parser": "^1.20.3",
  30. "bunyan": "^1.8.15",
  31. "express": "^4.21.2",
  32. "method-override": "^3.0.0",
  33. "mongodb-legacy": "6.1.3"
  34. },
  35. "devDependencies": {
  36. "chai-as-promised": "^7.1.1",
  37. "typescript": "^5.0.4",
  38. "vitest": "^3.2.4"
  39. }
  40. }