UNPKG

ts-patch-mongoose

Version:
111 lines (110 loc) 2.54 kB
{ "name": "ts-patch-mongoose", "version": "2.9.6", "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", "directories": { "examples": "examples" }, "keywords": [ "backend", "mongoose", "plugin", "mongo", "schema", "db", "nosql", "ts", "typescript", "patch", "history", "event", "emit", "create", "update", "delete", "audit", "log" ], "engines": { "node": ">=16" }, "files": [ "dist", "src", "tests", "tsconfig.json", "vite.config.mts", "biome.json" ], "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", "scripts": { "prepare": "simple-git-hooks", "biome": "npx @biomejs/biome check", "biome:fix": "npx @biomejs/biome check --write .", "test": "vitest run --coverage", "test:open": "vitest run --coverage && open-cli coverage/lcov-report/index.html", "type:check": "tsc --noEmit", "build": "pkgroll --clean-dist", "release": "npm install && npm run biome && npm run type:check && npm run build && np --no-publish" }, "dependencies": { "@types/lodash": "4.17.24", "@types/ms": "2.1.0", "@types/semver": "7.7.1", "fast-json-patch": "3.1.1", "lodash": "4.17.23", "ms": "2.1.3", "omit-deep": "0.3.0", "power-assign": "0.2.10", "semver": "7.7.4" }, "devDependencies": { "@biomejs/biome": "2.4.4", "@types/node": "25.3.0", "@vitest/coverage-v8": "4.0.18", "mongodb-memory-server": "11.0.1", "mongoose": "9.2.2", "open-cli": "8.0.0", "pkgroll": "2.26.3", "simple-git-hooks": "2.13.1", "typescript": "5.9.3", "vitest": "4.0.18", "np": "11.0.2" }, "peerDependencies": { "mongoose": ">=6.6.0 < 10" }, "simple-git-hooks": { "pre-commit": "npm run type:check", "pre-push": "npm run biome:fix" }, "np": { "publish": false }, "overrides": { "esbuild": "0.25.0" } }