package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "types:check": "tsc --noEmit"
  20. },
  21. "dependencies": {
  22. "@overleaf/logger": "*",
  23. "@overleaf/metrics": "*",
  24. "@overleaf/o-error": "*",
  25. "@overleaf/object-persistor": "*",
  26. "@overleaf/settings": "*",
  27. "@overleaf/stream-utils": "^0.1.0",
  28. "body-parser": "^1.20.3",
  29. "bunyan": "^1.8.15",
  30. "express": "^4.21.2",
  31. "glob": "^7.1.6",
  32. "lodash.once": "^4.1.1",
  33. "node-fetch": "^2.7.0",
  34. "range-parser": "^1.2.1",
  35. "tiny-async-pool": "^1.1.0"
  36. },
  37. "devDependencies": {
  38. "@google-cloud/storage": "^6.10.1",
  39. "chai": "^4.3.6",
  40. "chai-as-promised": "^7.1.1",
  41. "mocha": "^10.2.0",
  42. "mongodb": "6.12.0",
  43. "sandboxed-module": "2.0.4",
  44. "sinon": "9.0.2",
  45. "sinon-chai": "^3.7.0",
  46. "streamifier": "^0.1.1",
  47. "typescript": "^5.0.4"
  48. }
  49. }