package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "@overleaf/filestore",
  3. "description": "An API for CRUD operations on binary files stored in S3",
  4. "private": true,
  5. "main": "app.js",
  6. "scripts": {
  7. "test:acceptance:run": "mocha --recursive --reporter spec --timeout 15000 $@ test/acceptance/js",
  8. "test:acceptance": "npm run test:acceptance:_run -- --grep=$MOCHA_GREP",
  9. "test:unit:run": "mocha --recursive --reporter spec $@ test/unit/js",
  10. "test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
  11. "start": "node $NODE_APP_OPTIONS app.js",
  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. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  17. "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
  18. "lint:fix": "eslint --fix ."
  19. },
  20. "dependencies": {
  21. "@overleaf/logger": "^3.1.0",
  22. "@overleaf/metrics": "^4.0.0",
  23. "@overleaf/o-error": "^3.0.0",
  24. "@overleaf/object-persistor": "^1.0.1",
  25. "@overleaf/settings": "^3.0.0",
  26. "body-parser": "^1.19.0",
  27. "bunyan": "^1.8.15",
  28. "express": "^4.17.1",
  29. "glob": "^7.1.6",
  30. "lodash.once": "^4.1.1",
  31. "node-fetch": "^2.6.7",
  32. "node-uuid": "~1.4.8",
  33. "range-parser": "^1.2.1",
  34. "stream-buffers": "~0.2.6",
  35. "tiny-async-pool": "^1.1.0"
  36. },
  37. "devDependencies": {
  38. "@google-cloud/storage": "^5.1.2",
  39. "aws-sdk": "^2.718.0",
  40. "chai": "^4.3.6",
  41. "chai-as-promised": "^7.1.1",
  42. "disrequire": "^1.1.0",
  43. "mocha": "^8.4.0",
  44. "mongodb": "^3.5.9",
  45. "sandboxed-module": "2.0.4",
  46. "sinon": "9.0.2",
  47. "sinon-chai": "^3.7.0",
  48. "streamifier": "^0.1.1",
  49. "timekeeper": "^2.2.0"
  50. }
  51. }