{
  "name": "@portabletext/patches",
  "version": "3.0.1",
  "description": "Apply Sanity patches to a value",
  "keywords": [
    "patches",
    "portable-text",
    "portable-text-editor"
  ],
  "homepage": "https://www.sanity.io/",
  "bugs": {
    "url": "https://github.com/portabletext/editor/issues"
  },
  "license": "MIT",
  "author": "Sanity.io <hello@sanity.io>",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/portabletext/editor.git",
    "directory": "packages/patches"
  },
  "files": [
    "dist"
  ],
  "type": "module",
  "sideEffects": false,
  "types": "./dist/index.d.ts",
  "exports": {
    ".": "./dist/index.js",
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@sanity/diff-match-patch": "^3.2.1"
  },
  "devDependencies": {
    "@sanity/pkg-utils": "^12.3.0",
    "@sanity/tsconfig": "^2.1.0",
    "typescript": "^7.0.2",
    "vite": "^8.2.0",
    "vitest": "^4.1.11"
  },
  "engines": {
    "node": ">=22.12"
  },
  "scripts": {
    "build": "pkg-utils build --strict --check",
    "check:types": "tsc --noEmit --pretty",
    "check:types:watch": "tsc --noEmit --pretty --watch",
    "clean": "del .turbo && del dist && del node_modules",
    "dev": "pkg-utils watch",
    "test": "vitest --run",
    "test:unit": "vitest --run --project unit",
    "test:unit:watch": "vitest --project unit",
    "test:watch": "vitest"
  }
}