{
  "name": "@stainless-code/persist",
  "version": "0.1.0",
  "description": "Hydration-aware persistence middleware for reactive stores (storage × codec seams, TanStack Store adapters, React hydration hook)",
  "keywords": [
    "hydration",
    "indexeddb",
    "localstorage",
    "persist",
    "persistence",
    "state",
    "store",
    "tanstack",
    "tanstack-intent"
  ],
  "homepage": "https://github.com/stainless-code/persist#readme",
  "bugs": {
    "url": "https://github.com/stainless-code/persist/issues"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/stainless-code/persist.git"
  },
  "files": [
    "dist",
    "skills",
    "!skills/_artifacts"
  ],
  "type": "module",
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "import": "./dist/index.mjs"
    },
    "./seroval": {
      "types": "./dist/persist-seroval.d.mts",
      "import": "./dist/persist-seroval.mjs"
    },
    "./idb": {
      "types": "./dist/persist-idb.d.mts",
      "import": "./dist/persist-idb.mjs"
    },
    "./tanstack-store": {
      "types": "./dist/persist-tanstack.d.mts",
      "import": "./dist/persist-tanstack.mjs"
    },
    "./react": {
      "types": "./dist/use-hydrated.d.mts",
      "import": "./dist/use-hydrated.mjs"
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "tsdown",
    "check": "bun run build && bun run --parallel format:check lint:ci test test:dom typecheck",
    "check-updates": "bun update -i --latest",
    "clean": "git clean -xdf -e .env",
    "docs:api": "typedoc",
    "fix": "bun run lint:fix && bun run format",
    "fix:changes": "bun run lint:fix:changes && bun run format:changes",
    "format": "oxfmt --no-error-on-unmatched-pattern",
    "format:changes": "bun scripts/run-on-changed-files.ts format",
    "format:check": "oxfmt --check --no-error-on-unmatched-pattern",
    "intent:stale": "intent stale",
    "intent:validate": "intent validate",
    "lint": "oxlint --no-error-on-unmatched-pattern",
    "lint-staged": "lint-staged",
    "lint:changes": "bun scripts/run-on-changed-files.ts lint",
    "lint:ci": "oxlint --quiet",
    "lint:fix": "bun run lint --fix",
    "lint:fix:changes": "bun scripts/run-on-changed-files.ts lint:fix",
    "prepare": "husky || true",
    "prepublishOnly": "bun run check && bun run intent:validate",
    "release": "changeset publish",
    "test": "bun test ./src",
    "test:dom": "vitest run",
    "typecheck": "tsgo --noEmit",
    "version": "changeset version && bun run format CHANGELOG.md"
  },
  "devDependencies": {
    "@changesets/changelog-github": "0.7.0",
    "@changesets/cli": "2.31.0",
    "@tanstack/intent": "0.3.4",
    "@tanstack/store": "0.11.0",
    "@testing-library/dom": "10.4.1",
    "@testing-library/react": "16.3.2",
    "@types/bun": "1.3.14",
    "@types/node": "26.0.1",
    "@types/react": "19.2.17",
    "@types/react-dom": "19.2.3",
    "@typescript/native-preview": "7.0.0-dev.20260628.1",
    "husky": "9.1.7",
    "idb-keyval": "6.2.6",
    "jsdom": "29.1.1",
    "lint-staged": "17.0.8",
    "oxfmt": "0.56.0",
    "oxlint": "1.71.0",
    "react": "19.2.7",
    "react-dom": "19.2.7",
    "seroval": "1.5.4",
    "tsdown": "0.22.3",
    "typedoc": "0.28.19",
    "typescript": "6.0.3",
    "vitest": "4.1.9"
  },
  "peerDependencies": {
    "@tanstack/store": ">=0.10.0",
    "idb-keyval": ">=4.0.0",
    "react": "^18.0.0 || ^19.0.0",
    "seroval": ">=1.0.0"
  },
  "peerDependenciesMeta": {
    "seroval": {
      "optional": true
    },
    "idb-keyval": {
      "optional": true
    },
    "@tanstack/store": {
      "optional": true
    },
    "react": {
      "optional": true
    }
  },
  "engines": {
    "bun": ">=1.0.0",
    "node": "^20.19.0 || >=22.12.0"
  }
}
