{
    "name": "@symfony/ux-chartjs",
    "description": "Chart.js integration for Symfony",
    "license": "MIT",
    "version": "2.31.0",
    "keywords": [
        "symfony-ux"
    ],
    "homepage": "https://ux.symfony.com/chartjs",
    "repository": "https://github.com/symfony/ux-chartjs",
    "type": "module",
    "files": [
        "dist"
    ],
    "main": "dist/controller.js",
    "types": "dist/controller.d.ts",
    "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": {
            "chart": {
                "main": "dist/controller.js",
                "webpackMode": "eager",
                "fetch": "eager",
                "enabled": true
            }
        },
        "importmap": {
            "@hotwired/stimulus": "^3.0.0",
            "chart.js": "^3.4.1 || ^4.0"
        }
    },
    "peerDependencies": {
        "@hotwired/stimulus": "^3.0.0",
        "chart.js": "^3.4.1 || ^4.0"
    },
    "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",
        "chart.js": "^3.4.1 || ^4.0",
        "jsdom": "^26.1.0",
        "resize-observer-polyfill": "^1.5.1",
        "tslib": "^2.8.1",
        "tsx": "^4.20.3",
        "typescript": "^5.8.3",
        "vitest": "^3.2.4",
        "vitest-canvas-mock": "^0.3.3"
    }
}
