{
    "name": "leat/leat",
    "description": "Leat plugin for WordPress",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "Leat",
            "homepage": "https://leat.ai"
        }
    ],
    "require": {
        "php": ">=7.4",
        "automattic/jetpack-autoloader": "^3.1",
        "kucrut/vite-for-wp": "^0.11.6",
        "php-di/php-di": "^6.4",
        "piggy/piggy-php-sdk": "^3.12",
        "monolog/monolog": "^2.9"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.6 || ^10.5",
        "yoast/phpunit-polyfills": "^2.0",
        "wp-phpunit/wp-phpunit": "^6.4",
        "mockery/mockery": "^1.6",
        "brain/monkey": "^2.6",
        "php-stubs/wordpress-stubs": "^6.4",
        "php-stubs/woocommerce-stubs": "*",
        "phpstan/phpstan": "^1.10",
        "squizlabs/php_codesniffer": "^3.7",
        "wp-coding-standards/wpcs": "^3.0",
        "phpcompatibility/phpcompatibility-wp": "^2.1",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
        "woocommerce/woocommerce-sniffs": "^1.0",
        "php-stubs/wp-cli-stubs": "^2.12",
        "woocommerce/qit-cli": "*"
    },
    "autoload": {
        "psr-4": {
            "Leat\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Leat\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "test": "phpunit",
        "test:unit": "php -d memory_limit=512M vendor/bin/phpunit -c phpunit-unit.xml",
        "test:integration": "phpunit --testsuite integration",
        "test:coverage": "phpunit --coverage-html tests/coverage",
        "phpcs": "phpcs --extensions=php -d memory_limit=1024M -s -p .",
        "phpcs:fix": "phpcbf --extensions=php -d memory_limit=1024M -s -p .",
        "phpstan": "phpstan analyse",
        "validate:psr4": "php bin/validate-psr4.php",
        "test:all": [
            "@test:unit",
            "@phpcs",
            "@phpstan",
            "@validate:psr4"
        ]
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "automattic/jetpack-autoloader": true
        }
    }
}
