package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "@overleaf/docstore",
  3. "description": "A CRUD API for handling text documents in projects",
  4. "private": true,
  5. "main": "app.js",
  6. "scripts": {
  7. "start": "node $NODE_APP_OPTIONS app.js",
  8. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  9. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  10. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  11. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  12. "nodemon": "nodemon --config nodemon.json",
  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": "*",
  20. "@overleaf/metrics": "*",
  21. "@overleaf/o-error": "*",
  22. "@overleaf/object-persistor": "*",
  23. "@overleaf/settings": "*",
  24. "@overleaf/stream-utils": "^0.1.0",
  25. "async": "^3.2.2",
  26. "body-parser": "^1.19.0",
  27. "bson": "^1.1.4",
  28. "bunyan": "^1.8.15",
  29. "celebrate": "^13.0.4",
  30. "express": "^4.18.2",
  31. "lodash": "^4.17.21",
  32. "mongodb": "^4.11.0",
  33. "p-map": "^4.0.0",
  34. "request": "^2.88.2"
  35. },
  36. "devDependencies": {
  37. "@google-cloud/storage": "^6.10.1",
  38. "chai": "^4.3.6",
  39. "chai-as-promised": "^7.1.1",
  40. "mocha": "^10.2.0",
  41. "sandboxed-module": "~2.0.4",
  42. "sinon": "~9.0.2",
  43. "sinon-chai": "^3.7.0"
  44. }
  45. }