package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "@overleaf/chat",
  3. "description": "The backend API that powers Overleaf chat",
  4. "private": true,
  5. "main": "app.js",
  6. "type": "module",
  7. "scripts": {
  8. "start": "node app.js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  11. "nodemon": "node --watch app.js",
  12. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  13. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "format": "prettier --list-different $PWD/'**/*.*js'",
  16. "format:fix": "prettier --write $PWD/'**/*.*js'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/settings": "*",
  24. "async": "^3.2.5",
  25. "body-parser": "^1.20.3",
  26. "exegesis-express": "^4.0.0",
  27. "express": "^4.21.0",
  28. "mongodb": "6.12.0"
  29. },
  30. "devDependencies": {
  31. "acorn": "^7.1.1",
  32. "ajv": "^6.12.0",
  33. "chai": "^4.3.6",
  34. "chai-as-promised": "^7.1.1",
  35. "mocha": "^10.2.0",
  36. "request": "^2.88.2",
  37. "sandboxed-module": "^2.0.4",
  38. "sinon": "^9.2.4",
  39. "timekeeper": "^2.2.0",
  40. "typescript": "^5.0.4"
  41. },
  42. "version": "1.0.0",
  43. "directories": {
  44. "test": "test"
  45. },
  46. "keywords": [],
  47. "author": "",
  48. "license": "AGPL-3.0"
  49. }