{
  "name": "@ozdemircibaris/react-image-editor",
  "private": false,
  "version": "1.3.2",
  "description": "Headless React image editor with blur, crop, shapes, drawing, and undo/redo. Use the hooks for custom UI or the styled components for quick integration.",
  "main": "dist/index.js",
  "module": "dist/index.esm.js",
  "types": "dist/components/imageEditor/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/components/imageEditor/index.d.ts",
      "import": "./dist/index.esm.js",
      "require": "./dist/index.js"
    },
    "./core": {
      "types": "./dist/core/index.d.ts",
      "import": "./dist/core/index.esm.js",
      "require": "./dist/core/index.js"
    }
  },
  "typesVersions": {
    "*": {
      "core": [
        "./dist/core/index.d.ts"
      ]
    }
  },
  "files": [
    "dist/**/*.js",
    "dist/**/*.d.ts",
    "!dist/**/*.tsbuildinfo",
    "!dist/core/core",
    "!dist/core/components",
    "!dist/core/constants",
    "README.md"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "rollup -c",
    "lint": "eslint src --ext .ts,.tsx",
    "test": "vitest",
    "test:run": "vitest run",
    "test:coverage": "vitest run --coverage",
    "prepublishOnly": "npm run build",
    "prepare": "husky || true"
  },
  "keywords": [
    "react",
    "image-editor",
    "headless",
    "hooks",
    "fabric.js",
    "canvas",
    "blur",
    "crop",
    "shapes",
    "drawing",
    "undo-redo",
    "image-processing",
    "photo-editor",
    "web-editor",
    "typescript",
    "unstyled"
  ],
  "author": "Baris Ozdemirci",
  "license": "MIT",
  "peerDependencies": {
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0"
  },
  "dependencies": {
    "@radix-ui/react-popover": "^1.1.14",
    "fabric": "^5.3.0"
  },
  "devDependencies": {
    "@babel/preset-react": "^7.27.1",
    "@rollup/plugin-babel": "^6.0.4",
    "@rollup/plugin-commonjs": "^25.0.8",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^11.1.6",
    "@testing-library/react": "^16.3.2",
    "@types/fabric": "^5.3.10",
    "@types/node": "^20",
    "@types/react": "^19",
    "@types/react-dom": "^19",
    "@typescript-eslint/eslint-plugin": "^8.53.1",
    "@typescript-eslint/parser": "^8.53.1",
    "@vitest/coverage-v8": "^4.0.18",
    "eslint": "^9",
    "happy-dom": "^20.3.7",
    "husky": "^9.1.7",
    "lint-staged": "^16.2.7",
    "rollup": "^4.46.2",
    "rollup-plugin-peer-deps-external": "^2.2.4",
    "rollup-plugin-postcss": "^4.0.2",
    "rollup-plugin-svg": "^2.0.0",
    "typescript": "^5",
    "typescript-eslint": "^8.53.1",
    "vitest": "^4.0.18"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ozdemircibaris/react-image-editor.git"
  },
  "bugs": {
    "url": "https://github.com/ozdemircibaris/react-image-editor/issues"
  },
  "homepage": "https://image-editor.ozdemircibaris.dev",
  "lint-staged": {
    "*.{ts,tsx}": [
      "eslint --fix"
    ]
  }
}
