package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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": "eslint --max-warnings 0 --format unix .",
  17. "format": "prettier --list-different $PWD/'**/*.js'",
  18. "format:fix": "prettier --write $PWD/'**/*.js'",
  19. "lint:fix": "eslint --fix ."
  20. },
  21. "dependencies": {
  22. "@overleaf/metrics": "^3.5.2",
  23. "@overleaf/settings": "^2.1.1",
  24. "async": "^3.2.0",
  25. "body-parser": "^1.19.0",
  26. "express": "4.17.1",
  27. "logger-sharelatex": "^2.2.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. "eslint": "^7.21.0",
  36. "eslint-config-prettier": "^8.1.0",
  37. "eslint-config-standard": "^16.0.2",
  38. "eslint-plugin-chai-expect": "^2.2.0",
  39. "eslint-plugin-chai-friendly": "^0.6.0",
  40. "eslint-plugin-import": "^2.22.1",
  41. "eslint-plugin-mocha": "^8.0.0",
  42. "eslint-plugin-node": "^11.1.0",
  43. "eslint-plugin-prettier": "^3.1.2",
  44. "eslint-plugin-promise": "^4.2.1",
  45. "mocha": "^8.3.2",
  46. "nodemon": "^2.0.2",
  47. "prettier": "^2.2.1",
  48. "request": "^2.88.2",
  49. "sandboxed-module": "^2.0.3",
  50. "sinon": "^9.0.0",
  51. "timekeeper": "^2.2.0"
  52. }
  53. }