UNPKG

mongoose-schema-jsonschema

Version:

Mongoose extension that allows to build json schema for mongoose models, schemas and queries

52 lines (51 loc) 1.28 kB
{ "name": "mongoose-schema-jsonschema", "version": "3.0.2", "description": "Mongoose extension that allows to build json schema for mongoose models, schemas and queries", "main": "index.js", "scripts": { "coveralls": "./coveralls.sh", "test": "jest", "lint": "eslint ." }, "repository": { "type": "git", "url": "git+https://github.com/DScheglov/mongoose-schema-jsonschema.git" }, "keywords": [ "jsonschema", "json", "schema", "mongoose", "model", "query", "json schema", "build", "create" ], "author": "Dmitry Scheglov <Dmitry.Scheglov@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/DScheglov/mongoose-schema-jsonschema/issues" }, "homepage": "https://github.com/DScheglov/mongoose-schema-jsonschema#readme", "devDependencies": { "ajv": "^6.12.0", "coveralls": "^3.0.2", "eslint": "^7.32.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.24.2", "eslint-plugin-jest": "^24.4.0", "jest": "^27.1.0", "jsonschema": "^1.2.2" }, "peerDependencies": { "mongoose": ">=5.0.0 <9.0.0" }, "dependencies": { "pluralize": "^8.0.0" }, "publishConfig": { "registry": "https://registry.npmjs.org" } }