{
  "name": "@portabletext/patches",
  "version": "2.0.4",
  "description": "Portable Text Patches",
  "keywords": [
    "portable-text",
    "portable-text-editor",
    "patches"
  ],
  "homepage": "https://www.sanity.io/",
  "bugs": {
    "url": "https://github.com/portabletext/editor/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/portabletext/editor.git",
    "directory": "packages/patches"
  },
  "license": "MIT",
  "author": "Sanity.io <hello@sanity.io>",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": "./dist/index.js",
    "./package.json": "./package.json"
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "dependencies": {
    "@sanity/diff-match-patch": "^3.2.0"
  },
  "devDependencies": {
    "@sanity/pkg-utils": "^10.2.1",
    "@sanity/tsconfig": "^2.1.0",
    "typescript": "5.9.3",
    "vitest": "^4.0.15"
  },
  "engines": {
    "node": ">=20.19 <22 || >=22.12"
  },
  "scripts": {
    "build": "pkg-utils build --strict --check --clean",
    "check:lint": "biome lint .",
    "check:types": "tsc --noEmit --pretty",
    "check:types:watch": "tsc --noEmit --pretty --watch",
    "clean": "del .turbo && del dist && del node_modules",
    "dev": "pkg-utils watch",
    "lint:fix": "biome lint --write .",
    "test": "vitest --run",
    "test:unit": "vitest --run --project unit",
    "test:unit:watch": "vitest --project unit",
    "test:watch": "vitest"
  }
}