{
  "name": "@andrew_l/mongo-transaction",
  "version": "0.3.6",
  "description": "Manages side effects in MongoDB transactions, rollback on failure and preventing duplicates on retries.",
  "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.8.3",
    "unbuild": "3.5.0",
    "vitest": "^3.2.4"
  },
  "dependencies": {
    "@andrew_l/context": "0.3.6",
    "@andrew_l/toolkit": "0.3.6"
  },
  "peerDependencies": {
    "mongodb": "^5 || ^6"
  },
  "scripts": {
    "check-types": "tsc --noEmit",
    "build": "unbuild",
    "test": "vitest run --typecheck",
    "test:watch": "vitest watch --typecheck"
  }
}