package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "@overleaf/mongo-utils",
  3. "version": "0.0.1",
  4. "description": "utilities to help working with mongo",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./*": "./*"
  9. },
  10. "scripts": {
  11. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  12. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  13. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  14. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  15. "test:ci": "yarn run test:unit",
  16. "types:check": "tsc --noEmit"
  17. },
  18. "author": "Overleaf (https://www.overleaf.com)",
  19. "license": "AGPL-3.0-only",
  20. "dependencies": {
  21. "mongodb": "6.12.0",
  22. "mongodb-legacy": "6.1.3"
  23. },
  24. "devDependencies": {
  25. "@types/node": "^24.5.2",
  26. "chai": "^4.3.6",
  27. "eslint": "^10.4.0",
  28. "mocha": "^11.1.0",
  29. "mocha-junit-reporter": "^2.2.1",
  30. "mocha-multi-reporters": "^1.5.1",
  31. "sandboxed-module": "^2.0.4",
  32. "sinon": "^9.2.4",
  33. "sinon-chai": "^3.7.0",
  34. "typescript": "^5.0.4"
  35. }
  36. }