package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 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": "node --watch app.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. "types:check": "tsc --noEmit"
  18. },
  19. "dependencies": {
  20. "@overleaf/logger": "*",
  21. "@overleaf/metrics": "*",
  22. "@overleaf/o-error": "*",
  23. "@overleaf/object-persistor": "*",
  24. "@overleaf/promise-utils": "*",
  25. "@overleaf/settings": "*",
  26. "@overleaf/stream-utils": "^0.1.0",
  27. "async": "^3.2.5",
  28. "body-parser": "^1.19.0",
  29. "bson": "^1.1.4",
  30. "bunyan": "^1.8.15",
  31. "celebrate": "^15.0.3",
  32. "express": "^4.19.2",
  33. "lodash": "^4.17.21",
  34. "mongodb": "^6.2.0",
  35. "mongodb-legacy": "^6.0.1",
  36. "p-map": "^4.0.0",
  37. "request": "^2.88.2"
  38. },
  39. "devDependencies": {
  40. "@google-cloud/storage": "^7.11.2",
  41. "chai": "^4.3.6",
  42. "chai-as-promised": "^7.1.1",
  43. "mocha": "^10.2.0",
  44. "sandboxed-module": "~2.0.4",
  45. "sinon": "~9.0.2",
  46. "sinon-chai": "^3.7.0",
  47. "typescript": "^5.0.4"
  48. }
  49. }