{
  "name": "patch-mark",
  "version": "1.2.1",
  "description": "UI feedback for AI coding agents \u2014 point at elements, get structured context for your agent.",
  "type": "module",
  "main": "./dist/patch-mark.js",
  "module": "./dist/patch-mark.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "patch-mark-mcp": "./dist/mcp.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/LKRCharon/patch-mark.git"
  },
  "homepage": "https://lkrcharon.github.io/patch-mark/",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/patch-mark.js",
      "default": "./dist/patch-mark.js"
    },
    "./react": {
      "types": "./dist/react.d.ts",
      "import": "./dist/react.js",
      "default": "./dist/react.js"
    },
    "./iife": "./dist/patch-mark.iife.js",
    "./dist/*": "./dist/*"
  },
  "files": [
    "dist",
    "examples",
    "README.md",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build": "tsc --emitDeclarationOnly && esbuild src/index.ts --bundle --format=esm --outfile=dist/patch-mark.js --minify --define:__PM_VERSION__=\"'$npm_package_version'\" && esbuild src/index.ts --bundle --format=iife --global-name=PatchMark --outfile=dist/patch-mark.iife.js --minify --define:__PM_VERSION__=\"'$npm_package_version'\" && esbuild src/react.ts --bundle --format=esm --outfile=dist/react.js --minify --external:react --external:patch-mark && esbuild src/mcp-cli.ts --bundle --format=esm --platform=node --outfile=dist/mcp.js --minify --banner:js=\"#!/usr/bin/env node\" --define:__PM_VERSION__=\"'$npm_package_version'\"",
    "build:dev": "tsc --emitDeclarationOnly && esbuild src/index.ts --bundle --format=esm --outfile=dist/patch-mark.js --sourcemap --define:__PM_VERSION__=\"'$npm_package_version'\" && esbuild src/react.ts --bundle --format=esm --outfile=dist/react.js --sourcemap --external:react --external:patch-mark",
    "typecheck": "tsc --noEmit",
    "test": "esbuild test/*.test.ts --bundle --format=esm --platform=node --external:node:* --outdir=.test-dist && node --test .test-dist/*.test.js",
    "prepublishOnly": "npm run build",
    "docs:dev": "vitepress dev docs",
    "docs:build": "vitepress build docs"
  },
  "keywords": [
    "annotation",
    "patch-mark",
    "web-components",
    "custom-elements",
    "ai-coding-agent",
    "ui-feedback",
    "dom",
    "vibecoding",
    "mcp"
  ],
  "license": "MIT",
  "peerDependencies": {
    "react": ">=17"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    }
  },
  "overrides": {
    "vite": "6.4.3"
  },
  "devDependencies": {
    "@types/node": "^26.1.1",
    "@types/react": "^19.0.0",
    "esbuild": "^0.25.0",
    "typescript": "^5.7.0",
    "vitepress": "^1.0.0"
  }
}
