UNPKG

mongodb-schema

Version:

Infer the probabilistic schema for a MongoDB collection.

96 lines (95 loc) 2.77 kB
{ "name": "mongodb-schema", "description": "Infer the probabilistic schema for a MongoDB collection.", "version": "12.7.0", "author": { "name": "MongoDB Inc", "email": "compass@mongodb.com" }, "license": "Apache-2.0", "homepage": "http://github.com/mongodb-js/mongodb-schema", "repository": { "type": "git", "url": "git://github.com/mongodb-js/mongodb-schema.git" }, "bugs": { "url": "https://github.com/mongodb-js/mongodb-schema/issues" }, "bin": { "mongodb-schema": "bin/mongodb-schema" }, "main": "lib/index.js", "exports": { "require": "./lib/index.js", "import": "./.esm-wrapper.mjs", "types": "./lib/index.d.ts" }, "types": "./lib/index.d.ts", "files": [ "LICENSE", "lib", "bin", "package.json", "README.md", ".esm-wrapper.mjs" ], "scripts": { "test": "nyc mocha --timeout 5000 --colors -r ts-node/register test/*.ts test/**/*.ts src/**/*.{test,spec}.ts", "test-example-parse-from-file": "ts-node examples/parse-from-file.ts", "test-example-parse-schema": "ts-node examples/parse-schema.ts", "test-time": "ts-node ./test/time-testing.ts", "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs", "coverage": "nyc report --reporter=text-lcov | coveralls", "prepare": "npm run build", "compile-ts": "tsc -p tsconfig.json", "lint": "eslint \"{src,test,examples,bin}/**/*.ts\"", "depcheck": "depcheck", "check": "npm run lint && npm run depcheck" }, "keywords": [ "mongodb", "schema" ], "dependencies": { "reservoir": "^0.1.2" }, "devDependencies": { "@mongodb-js/compass-test-server": "^0.3.2", "@types/json-schema": "^7.0.15", "@types/mocha": "^10.0.1", "@types/node": "^22.13.1", "@types/reservoir": "^0.1.0", "@types/sinon": "^17.0.3", "@typescript-eslint/eslint-plugin": "^5.47.1", "@typescript-eslint/parser": "^5.47.1", "ajv": "^8.17.1", "bson": "^7.1.1", "coveralls": "^3.1.1", "depcheck": "^1.4.3", "eslint": "^8.30.0", "eslint-config-semistandard": "^15.0.1", "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.22.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1", "gen-esm-wrapper": "^1.1.3", "mocha": "^10.2.0", "mongodb": "^7.0.0", "nyc": "^15.1.0", "sinon": "^19.0.2", "ts-node": "^10.9.1", "typescript": "^4.9.4" }, "optionalDependencies": { "bson": "^6.7.0 || ^7.1.1", "cli-table": "^0.3.4", "js-yaml": "^4.0.0", "mongodb": "^6.6.1 || ^7.0.0", "mongodb-ns": "^3.0.1", "numeral": "^2.0.6", "progress": "^2.0.3", "stats-lite": "^2.0.0", "yargs": "^17.6.2" } }