{
    "name": "@bensitu/image-editor",
    "version": "2.9.0",
    "description": "TypeScript-first Fabric.js v7 image editor with masks, annotations, crop, mosaic, history, and export APIs",
    "license": "MIT",
    "author": "Ben Situ",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/bensitu/image-editor.git"
    },
    "homepage": "https://github.com/bensitu/image-editor#readme",
    "bugs": {
        "url": "https://github.com/bensitu/image-editor/issues"
    },
    "type": "module",
    "main": "./dist/cjs/index.cjs",
    "module": "./dist/esm/index.js",
    "types": "./dist/types/index.d.ts",
    "unpkg": "./dist/umd/image-editor.umd.js",
    "jsdelivr": "./dist/umd/image-editor.umd.js",
    "exports": {
        ".": {
            "import": {
                "types": "./dist/types/index.d.ts",
                "default": "./dist/esm/index.js"
            },
            "require": {
                "types": "./dist/types/index.d.cts",
                "default": "./dist/cjs/index.cjs"
            },
            "default": "./dist/esm/index.js"
        }
    },
    "files": [
        "dist"
    ],
    "scripts": {
        "clean": "rimraf dist",
        "build:esm": "tsc -p tsconfig.build.json",
        "build:cjs": "rollup -c --environment FORMAT:cjs",
        "build:types": "tsc -p tsconfig.types.json && node scripts/emit-cjs-types.mjs",
        "build:umd": "rollup -c --environment FORMAT:umd",
        "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && npm run build:umd",
        "dev": "tsc --watch",
        "format": "prettier . --write",
        "format:check": "prettier . --check",
        "lint": "eslint . --max-warnings=0",
        "lint:fix": "eslint . --fix",
        "package:check": "publint",
        "test": "node scripts/run-node-tests.mjs",
        "test:e2e": "playwright test tests/browser/e2e --project=chromium",
        "test:e2e:all": "playwright test tests/browser/e2e",
        "test:visual": "playwright test tests/browser/visual --project=chromium",
        "test:visual:update": "playwright test tests/browser/visual --project=chromium --update-snapshots",
        "test:browser": "playwright test tests/browser --project=chromium",
        "test:browser:release": "npm run test:e2e:all && npm run test:visual",
        "test:browser:all": "npm run test:browser:release",
        "release:gate": "node scripts/release-gate.mjs",
        "release:check": "npm run build && npm run package:check && npm run release:gate && npm pack --dry-run",
        "typecheck": "tsc -p tsconfig.json --noEmit",
        "check": "npm run format:check && npm run lint && npm run typecheck && npm test",
        "ci": "npm run check && npm run release:check"
    },
    "peerDependencies": {
        "fabric": ">=7.4.0 <8"
    },
    "dependencies": {
        "tslib": "^2.8.1"
    },
    "devDependencies": {
        "@eslint/js": "^10.0.1",
        "@playwright/test": "^1.61.1",
        "@rollup/plugin-node-resolve": "^15.0.0",
        "@rollup/plugin-terser": "^1.0.0",
        "@rollup/plugin-typescript": "^11.0.0",
        "canvas": "^3.2.3",
        "eslint": "^10.4.0",
        "eslint-config-prettier": "^10.1.8",
        "fabric": ">=7.4.0 <8",
        "fast-check": "^3.23.0",
        "globals": "^17.6.0",
        "jsdom": "^26.1.0",
        "prettier": "3.9.0",
        "publint": "^0.3.21",
        "rimraf": "^6.1.3",
        "rollup": "^4.0.0",
        "typescript": "^5.4.0",
        "typescript-eslint": "^8.60.0",
        "vite": "^8.1.0"
    },
    "keywords": [
        "canvas",
        "fabric",
        "fabricjs",
        "image-editor",
        "mask",
        "crop",
        "transform",
        "typescript"
    ],
    "engines": {
        "node": ">=20"
    },
    "sideEffects": false
}
