package.json 924 B

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