package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 --exit $@ test/unit/js",
  14. "lint": "eslint --max-warnings 0 --format unix .",
  15. "format": "prettier --list-different $PWD/'**/{*.*js,*.ts}'",
  16. "format:fix": "prettier --write $PWD/'**/{*.*js,*.ts}'",
  17. "lint:fix": "eslint --fix .",
  18. "types:check": "tsc --noEmit"
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/mongo-utils": "*",
  24. "@overleaf/settings": "*",
  25. "async": "^3.2.5",
  26. "body-parser": "^1.20.3",
  27. "exegesis-express": "^4.0.0",
  28. "express": "^4.21.2",
  29. "mongodb": "6.12.0"
  30. },
  31. "devDependencies": {
  32. "acorn": "^7.1.1",
  33. "ajv": "^6.12.0",
  34. "chai": "^4.3.6",
  35. "chai-as-promised": "^7.1.1",
  36. "mocha": "^11.1.0",
  37. "request": "^2.88.2",
  38. "sandboxed-module": "^2.0.4",
  39. "sinon": "^9.2.4",
  40. "timekeeper": "^2.2.0",
  41. "typescript": "^5.0.4"
  42. },
  43. "version": "1.0.0",
  44. "directories": {
  45. "test": "test"
  46. },
  47. "keywords": [],
  48. "author": "",
  49. "license": "AGPL-3.0"
  50. }