{
    "name": "@symfony/ux-cropperjs",
    "description": "Cropper.js integration for Symfony",
    "license": "MIT",
    "version": "2.30.0",
    "keywords": [
        "symfony-ux"
    ],
    "homepage": "https://ux.symfony.com/cropperjs",
    "repository": "https://github.com/symfony/ux-cropperjs",
    "type": "module",
    "files": [
        "dist"
    ],
    "main": "dist/controller.js",
    "types": "dist/controller.d.ts",
    "config": {
        "css_source": "src/style.css"
    },
    "scripts": {
        "build": "tsx ../../../bin/build_package.ts .",
        "watch": "tsx ../../../bin/build_package.ts . --watch",
        "test": "pnpm run test:unit && pnpm run test:browser",
        "test:unit": "../../../bin/unit_test_package.sh .",
        "test:browser": "playwright test",
        "test:browser:ui": "playwright test --ui",
        "check": "biome check",
        "ci": "biome ci"
    },
    "symfony": {
        "controllers": {
            "cropper": {
                "main": "dist/controller.js",
                "webpackMode": "eager",
                "fetch": "eager",
                "enabled": true,
                "autoimport": {
                    "cropperjs/dist/cropper.min.css": true,
                    "@symfony/ux-cropperjs/dist/style.min.css": true
                }
            }
        },
        "importmap": {
            "cropperjs": "^1.5.9",
            "@hotwired/stimulus": "^3.0.0"
        }
    },
    "peerDependencies": {
        "@hotwired/stimulus": "^3.0.0",
        "cropperjs": "^1.5.9"
    },
    "devDependencies": {
        "@hotwired/stimulus": "^3.0.0",
        "@testing-library/dom": "^10.4.0",
        "@testing-library/jest-dom": "^6.6.3",
        "@testing-library/user-event": "^14.6.1",
        "cropperjs": "^1.5.9",
        "jsdom": "^26.1.0",
        "tslib": "^2.8.1",
        "tsx": "^4.20.3",
        "typescript": "^5.8.3",
        "vitest": "^3.2.4"
    }
}
