package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "@overleaf/notifications",
  3. "description": "An API to handle user notifications",
  4. "private": true,
  5. "main": "app.ts",
  6. "type": "module",
  7. "scripts": {
  8. "start": "node app.ts",
  9. "test:acceptance:_run": "vitest --config ./vitest.config.acceptance.cjs",
  10. "test:acceptance": "npm run test:acceptance:_run",
  11. "test:unit:_run": "vitest --config ./vitest.config.unit.cjs",
  12. "test:unit": "npm run test:unit:_run",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
  15. "format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
  16. "lint:fix": "eslint --fix .",
  17. "types:check": "tsc --noEmit",
  18. "nodemon": "node --watch app.ts"
  19. },
  20. "author": "",
  21. "license": "ISC",
  22. "dependencies": {
  23. "@overleaf/fetch-utils": "*",
  24. "@overleaf/logger": "*",
  25. "@overleaf/metrics": "*",
  26. "@overleaf/mongo-utils": "*",
  27. "@overleaf/o-error": "*",
  28. "@overleaf/settings": "*",
  29. "@overleaf/promise-utils": "*",
  30. "@overleaf/validation-tools": "*",
  31. "async": "^3.2.5",
  32. "body-parser": "^1.20.3",
  33. "bunyan": "^1.8.15",
  34. "express": "^4.21.2",
  35. "method-override": "^3.0.0",
  36. "mongodb-legacy": "6.1.3",
  37. "zod": "^4.1.7",
  38. "zod-validation-error": "^4.0.1"
  39. },
  40. "devDependencies": {
  41. "@types/method-override": "^3.0.0",
  42. "chai": "^4.3.6",
  43. "chai-as-promised": "^7.1.1",
  44. "mocha": "^11.1.0",
  45. "typescript": "^5.0.4",
  46. "vitest": "^3.2.4"
  47. }
  48. }