@andrew_l/mongo-transaction
Version:
 <!-- omit in toc -->  <!-- omit in toc --> ![npm bundle size](https://img.shields.io/bundlephobia/minzip/%
51 lines • 1.07 kB
JSON
{
"name": "@andrew_l/mongo-transaction",
"version": "0.2.13",
"license": "MIT",
"type": "module",
"keywords": [
"mongo",
"mongodb",
"mongoose",
"transaction",
"hooks",
"rollback",
"revert"
],
"repository": {
"type": "git",
"url": "git+https://github.com/men232/toolkit.git",
"directory": "packages/mongo-transaction"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@types/node": "22.10.5",
"mongoose-v7": "npm:mongoose@7.6.3",
"mongoose-v8": "npm:mongoose@8.8.0",
"typescript": "~5.6.2",
"unbuild": "3.0.0-rc.11",
"vitest": "^2.1.3"
},
"dependencies": {
"@andrew_l/context": "0.2.13",
"@andrew_l/toolkit": "0.2.13"
},
"peerDependencies": {
"mongodb": "^5 || ^6"
},
"scripts": {
"build": "unbuild",
"test": "vitest run --typecheck",
"test:watch": "vitest watch --typecheck"
}
}