{
  "name": "@rpcbase/db",
  "version": "0.106.0",
  "type": "module",
  "files": [
    "dist"
  ],
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/index.browser.js",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./acl": {
      "types": "./dist/acl/index.d.ts",
      "import": "./dist/acl/index.js",
      "default": "./dist/acl/index.js"
    },
    "./model": {
      "types": "./dist/modelTypes.d.ts",
      "import": "./dist/model.js",
      "default": "./dist/model.js"
    },
    "./mongo": {
      "types": "./dist/getMongoUrl.d.ts",
      "import": "./dist/mongo.js",
      "default": "./dist/mongo.js"
    }
  },
  "scripts": {
    "build": "wireit",
    "test": "vitest run --coverage",
    "release": "wireit"
  },
  "wireit": {
    "build": {
      "command": "../../node_modules/.bin/vite build",
      "files": [
        "src/**/*",
        "../../tsconfig.json",
        "../../scripts/tsconfig.pkg.json",
        "./tsconfig.json",
        "./vite.config.js",
        "../../scripts/vite.config-pkg.js"
      ],
      "output": [
        "dist/"
      ]
    },
    "build-watch": {
      "command": "../../node_modules/.bin/vite build --watch",
      "service": {
        "readyWhen": {
          "lineMatches": "^(?:\\u001b\\[[0-9;]*m)*built in .*\\.(?:\\u001b\\[[0-9;]*m)*$"
        }
      }
    },
    "release": {
      "command": "../../scripts/publish.js",
      "dependencies": [
        "build"
      ],
      "files": [
        "../../scripts/publish.js",
        "package.json",
        "dist/**/*"
      ],
      "output": [
        "publish-output.txt"
      ],
      "env": {
        "NPM_RELEASE_CHANNEL": {
          "external": true
        }
      }
    }
  },
  "peerDependencies": {
    "mongoose": "^9",
    "zod": "^4"
  },
  "dependencies": {
    "@casl/ability": "6.8.0",
    "@casl/mongoose": "8.0.5"
  },
  "devDependencies": {
    "@types/node": "25.5.2",
    "@vitest/coverage-v8": "4.1.2",
    "vitest": "4.1.2"
  }
}
