UNPKG

mongo2crate

Version:

Sync MongoDB to CrateDB and Convert JSON schema to SQL DDL

88 lines (87 loc) 2.1 kB
{ "name": "mongo2crate", "version": "0.58.0", "description": "Sync MongoDB to CrateDB and Convert JSON schema to SQL DDL", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "repository": { "type": "git", "url": "git://github.com/smartprocure/mongo2crate.git" }, "scripts": { "prepare": "npm test && npm run lint && npm run build", "clean": "rm -rf dist", "build": "npm run clean && tsc --declaration", "build:watch": "tsc --watch", "test": "vitest run", "test:watch": "DEBUG=mongo* vitest", "lint": "eslint src/**", "fmt": "prettier --ignore-path .gitignore --write './'" }, "keywords": [ "mongodb", "mongo", "crate", "cratedb", "json", "schema", "create", "sql", "table", "ddl", "sync", "collection", "change", "stream" ], "author": "GovSpend", "license": "ISC", "engines": { "node": ">=16.0.0" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.23.0", "@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", "globals": "^16.0.0", "mongochangestream-testing": "^0.6.0", "prettier": "^3.5.3", "typescript": "5.8.2", "vitest": "^3.1.1" }, "dependencies": { "debug": "^4.4.0", "dupes-of-hazard": "^0.1.0", "eventemitter3": "^5.0.1", "lodash": "^4.17.21", "minimatch": "^10.0.1", "mongochangestream": "^0.62.0", "ms": "^2.1.3", "node-fetch": "^3.3.2", "obj-walker": "^2.4.0", "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 } }