mongo2mongo
Version:
Sync one MongoDB collection to another MongoDB collection
74 lines (73 loc) • 1.82 kB
JSON
{
"name": "mongo2mongo",
"version": "0.40.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": "^6.0.0",
"@types/debug": "^4.1.12",
"@types/lodash": "^4.17.21",
"@types/node": "^25.0.2",
"@typescript-eslint/eslint-plugin": "^8.50.0",
"mongochangestream-testing": "^0.6.0",
"prettier": "^3.7.4",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
},
"dependencies": {
"debug": "^4.4.3",
"eventemitter3": "^5.0.1",
"lodash": "^4.17.21",
"mongochangestream": "^0.64.0",
"obj-walker": "^2.5.0",
"p-retry": "^7.1.1",
"prom-utils": "^0.19.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
}
}