package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. "express": "4.17.1",
  26. "mongodb": "^4.11.0"
  27. },
  28. "devDependencies": {
  29. "acorn": "^7.1.1",
  30. "ajv": "^6.12.0",
  31. "chai": "^4.3.6",
  32. "chai-as-promised": "^7.1.1",
  33. "mocha": "^8.4.0",
  34. "request": "^2.88.2",
  35. "sandboxed-module": "^2.0.4",
  36. "sinon": "^9.2.4",
  37. "timekeeper": "^2.2.0"
  38. }
  39. }