package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 $NODE_APP_OPTIONS 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": "nodemon --config nodemon.json",
  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. },
  19. "dependencies": {
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/settings": "*",
  23. "async": "^3.2.2",
  24. "body-parser": "^1.19.0",
  25. "exegesis-express": "^4.0.0",
  26. "express": "^4.18.2",
  27. "mongodb": "^4.11.0"
  28. },
  29. "devDependencies": {
  30. "acorn": "^7.1.1",
  31. "ajv": "^6.12.0",
  32. "chai": "^4.3.6",
  33. "chai-as-promised": "^7.1.1",
  34. "mocha": "^10.2.0",
  35. "request": "^2.88.2",
  36. "sandboxed-module": "^2.0.4",
  37. "sinon": "^9.2.4",
  38. "timekeeper": "^2.2.0"
  39. },
  40. "version": "1.0.0",
  41. "directories": {
  42. "test": "test"
  43. },
  44. "keywords": [],
  45. "author": "",
  46. "license": "AGPL-3.0"
  47. }