{ "name": "ts-patch-mongoose", "version": "4.1.1", "description": "Patch history & events for mongoose models", "author": "ilovepixelart", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ilovepixelart/ts-patch-mongoose.git" }, "bugs": { "url": "https://github.com/ilovepixelart/ts-patch-mongoose/issues" }, "homepage": "https://github.com/ilovepixelart/ts-patch-mongoose#readme", "keywords": [ "backend", "mongoose", "plugin", "mongo", "schema", "db", "nosql", "ts", "typescript", "patch", "history", "event", "emit", "create", "update", "delete", "audit", "log" ], "engines": { "node": ">=20" }, "files": [ "dist" ], "type": "module", "exports": { "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" }, "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "publishConfig": { "access": "public", "provenance": true }, "scripts": { "biome": "npx @biomejs/biome check", "biome:fix": "npx @biomejs/biome check --write .", "lint:package": "publint --strict && attw --pack .", "test": "vitest run --coverage", "test:open": "vitest run --coverage && open-cli coverage/lcov-report/index.html", "test:e2e": "npm run build && node e2e/e2e.mjs", "test:e2e:tools": "node --test e2e/compare.test.mjs", "clean": "rm -rf ./dist", "type:check": "tsc --noEmit", "type:check:tests": "tsc --noEmit -p tests/tsconfig.json", "build": "pkgroll --clean-dist", "release": "npm install && npm run biome && npm run type:check && npm run type:check:tests && npm run build && np --no-publish" }, "devDependencies": { "@arethetypeswrong/cli": "0.18.5", "@biomejs/biome": "2.6.8", "@types/node": "22.20.5", "@typescript/typescript6": "6.0.2", "@vitest/coverage-v8": "5.1.0", "fast-check": "4.10.2", "mongodb-memory-server": "11.3.0", "mongoose": "9.12.2", "open-cli": "9.0.0", "pkgroll": "2.29.1", "publint": "0.3.25", "simple-git-hooks": "2.14.0", "typescript": "7.0.2", "vitest": "5.1.0" }, "peerDependencies": { "mongoose": ">=6.6.0 < 10" }, "simple-git-hooks": { "pre-commit": "npm run type:check", "pre-push": "npm run biome" }, "np": { "publish": false } }