package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 --config ./vitest.config.unit.cjs",
  12. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  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. "nodemon": "node --watch app.js"
  19. },
  20. "author": "",
  21. "license": "ISC",
  22. "dependencies": {
  23. "@overleaf/fetch-utils": "*",
  24. "@overleaf/logger": "*",
  25. "@overleaf/metrics": "*",
  26. "@overleaf/mongo-utils": "*",
  27. "@overleaf/settings": "*",
  28. "@overleaf/promise-utils": "*",
  29. "async": "^3.2.5",
  30. "body-parser": "^1.20.3",
  31. "bunyan": "^1.8.15",
  32. "express": "^4.21.2",
  33. "method-override": "^3.0.0",
  34. "mongodb-legacy": "6.1.3"
  35. },
  36. "devDependencies": {
  37. "chai": "^4.3.6",
  38. "chai-as-promised": "^7.1.1",
  39. "mocha": "^11.1.0",
  40. "typescript": "^5.0.4",
  41. "vitest": "^3.2.4"
  42. }
  43. }