UNPKG

@mocking-bird/mongoose

Version:

Generates fixtures for `mongoose`. Simply provide the schema or model, and it will generate mock data based on the types and constraints of the schema.

39 lines (38 loc) 761 B
{ "name": "@mocking-bird/mongoose", "version": "1.2.0", "private": false, "license": "MIT", "repository": { "url": "https://github.com/batrdn/mocking-bird" }, "keywords": [ "mocking-bird", "mongoose", "testing", "mocking", "fixtures" ], "author": "batrdn", "engines": { "node": ">=18.*", "npm": ">=9.*" }, "scripts": { "typecheck": "tsc -p tsconfig.json --noEmit", "test": "nx test @mocking-bird/mongoose" }, "peerDependencies": { "mongoose": ">=6" }, "dependencies": { "@mocking-bird/core": "1.2.0", "tslib": "^2.3.0" }, "devDependencies": { "@testcontainers/mongodb": "^10.7.1" }, "type": "commonjs", "main": "./src/index.js", "typings": "./src/index.d.ts" }