package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "chat-sharelatex",
  3. "version": "0.1.4",
  4. "description": "The backend API that powers ShareLaTeX chat",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/sharelatex/chat-sharelatex.git"
  8. },
  9. "scripts": {
  10. "start": "node $NODE_APP_OPTIONS app.js",
  11. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  12. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  13. "nodemon": "nodemon --config nodemon.json",
  14. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  15. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  16. "lint": "../../node_modules/.bin/eslint --max-warnings 0 --format unix .",
  17. "format": "../../node_modules/.bin/prettier --list-different $PWD/'**/*.js'",
  18. "format:fix": "../../node_modules/.bin/prettier --write $PWD/'**/*.js'",
  19. "lint:fix": "../../node_modules/.bin/eslint --fix ."
  20. },
  21. "dependencies": {
  22. "@overleaf/logger": "^3.1.0",
  23. "@overleaf/metrics": "^4.0.0",
  24. "@overleaf/settings": "^2.1.1",
  25. "async": "^3.2.0",
  26. "body-parser": "^1.19.0",
  27. "express": "4.17.1",
  28. "mongodb": "^3.6.0"
  29. },
  30. "devDependencies": {
  31. "acorn": "^7.1.1",
  32. "ajv": "^6.12.0",
  33. "chai": "^4.2.0",
  34. "chai-as-promised": "^7.1.1",
  35. "mocha": "^8.3.2",
  36. "nodemon": "^2.0.2",
  37. "request": "^2.88.2",
  38. "sandboxed-module": "^2.0.3",
  39. "sinon": "^9.0.0",
  40. "timekeeper": "^2.2.0"
  41. }
  42. }