package.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "name": "@overleaf/chat",
  3. "description": "The backend API that powers Overleaf chat",
  4. "private": true,
  5. "main": "app.js",
  6. "scripts": {
  7. "start": "node $NODE_APP_OPTIONS app.js",
  8. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  9. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  10. "nodemon": "nodemon --config nodemon.json",
  11. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  12. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  13. "lint": "eslint --max-warnings 0 --format unix .",
  14. "format": "prettier --list-different $PWD/'**/*.js'",
  15. "format:fix": "prettier --write $PWD/'**/*.js'",
  16. "lint:fix": "eslint --fix ."
  17. },
  18. "dependencies": {
  19. "@overleaf/logger": "^3.1.0",
  20. "@overleaf/metrics": "^4.0.0",
  21. "@overleaf/settings": "^3.0.0",
  22. "async": "^3.2.2",
  23. "body-parser": "^1.19.0",
  24. "express": "4.17.1",
  25. "mongodb": "^3.6.0"
  26. },
  27. "devDependencies": {
  28. "acorn": "^7.1.1",
  29. "ajv": "^6.12.0",
  30. "chai": "^4.3.6",
  31. "chai-as-promised": "^7.1.1",
  32. "mocha": "^8.4.0",
  33. "request": "^2.88.2",
  34. "sandboxed-module": "^2.0.4",
  35. "sinon": "^9.2.4",
  36. "timekeeper": "^2.2.0"
  37. }
  38. }