UNPKG

mongo2mongo

Version:

Sync one MongoDB collection to another MongoDB collection

74 lines (73 loc) 1.82 kB
{ "name": "mongo2mongo", "version": "0.38.0", "description": "Sync one MongoDB collection to another MongoDB collection", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "repository": { "type": "git", "url": "git://github.com/smartprocure/mongo2mongo.git" }, "scripts": { "prepare": "npm test && npm run lint && npm run build", "test": "vitest run", "test:watch": "DEBUG=mongo* vitest", "clean": "rm -rf dist", "build": "npm run clean && tsc --declaration", "build:watch": "tsc --watch", "lint": "eslint src/**", "fmt": "prettier --ignore-path .gitignore --write './'" }, "keywords": [ "mongodb", "mongo", "sync", "collection", "change", "stream" ], "author": "GovSpend", "license": "ISC", "engines": { "node": ">=16.0.0" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^5.2.2", "@types/debug": "^4.1.12", "@types/lodash": "^4.17.16", "@types/node": "^22.14.0", "@typescript-eslint/eslint-plugin": "^8.29.0", "mongochangestream-testing": "^0.6.0", "prettier": "^3.5.3", "typescript": "^5.8.2", "vitest": "^3.1.1" }, "dependencies": { "debug": "^4.4.0", "eventemitter3": "^5.0.1", "lodash": "^4.17.21", "mongochangestream": "^0.62.0", "obj-walker": "^2.4.0", "p-retry": "^6.2.1", "prom-utils": "^0.16.0" }, "peerDependencies": { "ioredis": ">= 5.4.1", "mongodb": ">= 6.8.0" }, "prettier": { "semi": false, "singleQuote": true, "trailingComma": "es5", "plugins": [ "@trivago/prettier-plugin-sort-imports" ], "importOrder": [ "^[./]" ], "importOrderSortSpecifiers": true, "importOrderCaseInsensitive": true, "importOrderSeparation": true } }