{
    "name": "totaliweb/decacrew",
    "description": "DecaCrew - A crew of AI agents that maintain and protect your WordPress site.",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "Totaliweb",
            "email": "webmaster.totaliweb@gmail.com"
        }
    ],
    "require": {
        "php": ">=8.0",
        "freemius/wordpress-sdk": "2.13.4",
        "woocommerce/action-scheduler": "4.1.0"
    },
    "require-dev": {
        "wp-coding-standards/wpcs": "^3.1",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
        "phpstan/phpstan": "^2.1",
        "szepeviktor/phpstan-wordpress": "^2.0",
        "php-stubs/wordpress-stubs": "^6.7",
        "php-stubs/woocommerce-stubs": "^9.0",
        "phpunit/phpunit": "^9.6",
        "yoast/phpunit-polyfills": "^2.0",
        "brianhenryie/strauss": "^0.19"
    },
    "autoload": {
        "psr-4": {
            "DecaCrew\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "DecaCrew\\Tests\\": "tests/",
            "DecaCrew\\Build\\": "build-tools/"
        }
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "composer/installers": true
        },
        "platform": {
            "php": "8.0.30"
        },
        "sort-packages": true
    },
    "scripts": {
        "phpcs": "phpcs --standard=phpcs.xml.dist",
        "phpcbf": "phpcbf --standard=phpcs.xml.dist",
        "phpstan": "phpstan analyse --memory-limit=2G",
        "test": "phpunit",
        "strauss": "strauss",
        "sync-libs": [
            "DecaCrew\\Build\\ComposerScripts::sync_action_scheduler"
        ],
        "post-install-cmd": [
            "@sync-libs"
        ],
        "post-update-cmd": [
            "@sync-libs"
        ]
    },
    "extra": {
        "strauss": {
            "target_directory": "vendor-prefixed",
            "namespace_prefix": "DecaCrew\\Vendor\\",
            "classmap_prefix": "DecaCrew_Vendor_",
            "packages": [],
            "exclude_from_prefix": {
                "packages": [
                    "freemius/wordpress-sdk",
                    "woocommerce/action-scheduler"
                ]
            }
        }
    }
}
