package.json 1.8 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,Jenkinsfile}'",
  15. "format:fix": "prettier --write $PWD/'**/{*.*js,Jenkinsfile}'",
  16. "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
  17. "test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js",
  18. "lint:fix": "eslint --fix .",
  19. "types:check": "tsc --noEmit"
  20. },
  21. "dependencies": {
  22. "@aws-sdk/client-s3": "^3.864.0",
  23. "@overleaf/logger": "*",
  24. "@overleaf/metrics": "*",
  25. "@overleaf/o-error": "*",
  26. "@overleaf/object-persistor": "*",
  27. "@overleaf/settings": "*",
  28. "@overleaf/stream-utils": "^0.1.0",
  29. "body-parser": "^1.20.3",
  30. "bunyan": "^1.8.15",
  31. "express": "^4.21.2",
  32. "glob": "^7.1.6",
  33. "lodash.once": "^4.1.1",
  34. "node-fetch": "^2.7.0",
  35. "range-parser": "^1.2.1",
  36. "tiny-async-pool": "^1.1.0"
  37. },
  38. "devDependencies": {
  39. "@google-cloud/storage": "^6.10.1",
  40. "chai": "^4.3.6",
  41. "chai-as-promised": "^7.1.1",
  42. "mocha": "^11.1.0",
  43. "mongodb": "6.12.0",
  44. "sandboxed-module": "2.0.4",
  45. "sinon": "9.0.2",
  46. "sinon-chai": "^3.7.0",
  47. "streamifier": "^0.1.1",
  48. "typescript": "^5.0.4"
  49. }
  50. }