UNPKG

mongoose-delete-ts

Version:
53 lines (52 loc) 1.58 kB
{ "name": "mongoose-delete-ts", "version": "2.2.2", "description": "Mongoose soft delete plugin", "author": "Emil Janitzek <emil@pixel2.se>", "main": "dist/source/index.js", "types": "dist/source/index.d.ts", "scripts": { "test": "npx ts-mocha --project test/tsconfig.json --transpile-only --recursive --reporter spec --require test/utils/hooks.ts --require chai/register-expect.js ./test/*.ts", "test:dist": "npx mocha --recursive --reporter spec --require dist/test/utils/hooks.js ./dist/test/*", "clean": "rm -r dist", "build": "npx tsc -b source", "build:test": "npx tsc -b test", "prepare": "npm run build", "eslint": "npx eslint source/** test/** --ext .ts" }, "repository": { "type": "git", "url": "git@github.com:emiljanitzek/mongoose-delete-ts.git" }, "keywords": [ "mongoose", "soft", "delete", "remove", "plugin", "typescript" ], "license": "MIT", "bugs": { "url": "https://github.com/emiljanitzek/mongoose-delete-ts/issues" }, "homepage": "https://github.com/emiljanitzek/mongoose-delete-ts", "peerDependencies": { "mongoose": "8.x" }, "devDependencies": { "@tsconfig/node22": "~22.0.0", "@types/chai": "~4.3.16", "@types/mocha": "~10.0.10", "@types/node": "~22.10.2", "@typescript-eslint/eslint-plugin": "~7.18.0", "@typescript-eslint/parser": "~7.18.0", "chai": "~4.5.0", "eslint": "~8.57.1", "mocha": "~10.8.2", "mongodb": "~6.12.0", "mongoose": "~8.9.2", "ts-mocha": "~10.0.0", "typescript": "~5.6.3" } }