package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 app.js",
  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. "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": "*",
  22. "@overleaf/metrics": "*",
  23. "@overleaf/o-error": "*",
  24. "@overleaf/object-persistor": "*",
  25. "@overleaf/settings": "*",
  26. "@overleaf/stream-utils": "^0.1.0",
  27. "body-parser": "^1.19.0",
  28. "bunyan": "^1.8.15",
  29. "express": "^4.18.2",
  30. "glob": "^7.1.6",
  31. "lodash.once": "^4.1.1",
  32. "node-fetch": "^2.6.7",
  33. "range-parser": "^1.2.1",
  34. "tiny-async-pool": "^1.1.0"
  35. },
  36. "devDependencies": {
  37. "@google-cloud/storage": "^6.10.1",
  38. "aws-sdk": "^2.718.0",
  39. "chai": "^4.3.6",
  40. "chai-as-promised": "^7.1.1",
  41. "disrequire": "^1.1.0",
  42. "mocha": "^10.2.0",
  43. "mongodb": "^6.1.0",
  44. "sandboxed-module": "2.0.4",
  45. "sinon": "9.0.2",
  46. "sinon-chai": "^3.7.0",
  47. "streamifier": "^0.1.1",
  48. "timekeeper": "^2.2.0"
  49. }
  50. }