package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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 format && 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. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  12. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  13. "test:ci": "npm run test:unit",
  14. "types:check": "tsc --noEmit"
  15. },
  16. "author": "Overleaf (https://www.overleaf.com)",
  17. "license": "AGPL-3.0-only",
  18. "dependencies": {
  19. "mongodb": "6.12.0",
  20. "mongodb-legacy": "6.1.3"
  21. },
  22. "devDependencies": {
  23. "chai": "^4.3.6",
  24. "mocha": "^11.1.0",
  25. "mocha-junit-reporter": "^2.2.1",
  26. "mocha-multi-reporters": "^1.5.1",
  27. "sandboxed-module": "^2.0.4",
  28. "sinon": "^9.2.4",
  29. "sinon-chai": "^3.7.0",
  30. "typescript": "^5.0.4"
  31. }
  32. }