{
  "name": "@magicpatterns/html-to-figma",
  "version": "1.0.5",
  "description": "Convert a live HTML subtree into a Figma clipboard payload that pastes losslessly into Figma.",
  "type": "module",
  "license": "UNLICENSED",
  "files": [
    "dist"
  ],
  "main": "dist/htmlToFigma.umd.cjs",
  "module": "dist/htmlToFigma.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/htmlToFigma.js",
      "require": "./dist/htmlToFigma.umd.cjs"
    }
  },
  "scripts": {
    "dev": "vite",
    "build": "vite build && tsc -p tsconfig.build.json",
    "prepublishOnly": "yarn build && node -e \"const fs=require('fs');if(!fs.existsSync('dist/htmlToFigma.js'))throw new Error('dist missing');if(fs.existsSync('dist/.reference'))throw new Error('.reference leaked into dist')\"",
    "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "preview": "vite preview",
    "decode-fixture": "tsx scripts/decode-fixture.ts",
    "decode-blob": "tsx scripts/decode-blob.ts",
    "extract-schema": "tsx scripts/extract-schema.ts",
    "generate-fixture": "tsx scripts/generate-from-fixture.ts",
    "roundtrip-fixture": "tsx scripts/roundtrip-fixture.ts",
    "test-color": "tsx scripts/test-parse-color.ts",
    "test-fixture": "tsx scripts/test-fixture.ts",
    "verify-generated": "tsx scripts/verify-generated.ts"
  },
  "dependencies": {
    "kiwi-schema": "^0.5.0",
    "opentype.js": "^1.3.4",
    "pako": "^2.1.0"
  },
  "devDependencies": {
    "@chakra-ui/react": "2.8.2",
    "@emotion/react": "11.11.4",
    "@emotion/styled": "11.11.5",
    "@magicpatterns/eslint-config": "workspace:*",
    "@types/jsdom": "21.1.7",
    "@types/opentype.js": "^1.3.9",
    "@types/pako": "2.0.3",
    "@types/react": "18.2.66",
    "@types/react-dom": "18.2.22",
    "@typescript-eslint/eslint-plugin": "6.21.0",
    "@typescript-eslint/parser": "6.21.0",
    "@vitejs/plugin-react": "4.2.1",
    "autoprefixer": "10.4.19",
    "eslint": "8.57.1",
    "eslint-plugin-react": "7.37.5",
    "eslint-plugin-react-hooks": "4.6.0",
    "eslint-plugin-react-refresh": "0.4.6",
    "framer-motion": "11.2.9",
    "jsdom": "25.0.1",
    "lucide-react": "0.379.0",
    "postcss": "8.4.38",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "tailwindcss": "3.4.3",
    "tsx": "4.21.0",
    "typescript": "5.2.2",
    "vite": "5.2.0"
  }
}
