{
    "name": "catalogit/catalogit",
    "description": "Create and manage catalogs in WordPress",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "autoload": {
        "psr-4": {
            "CatalogIt\\": "includes/"
        }
    },
    "require": {
        "php": ">=7.3"
    },
    "require-dev": {
        "squizlabs/php_codesniffer": "^3.11.1",
        "wp-coding-standards/wpcs": "^3.1.0",
        "phpcompatibility/phpcompatibility-wp": "^2.1",
        "phpcompatibility/php-compatibility": "^9.3"
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "platform": {
            "php": "7.3.0"
        },
        "optimize-autoloader": true,
        "sort-packages": true,
        "preferred-install": "dist"
    },
    "scripts": {
        "post-install-cmd": [
            "@php -r \"file_exists('vendor/autoload.php') && unlink('vendor/autoload.php');\"",
            "composer dump-autoload --optimize"
        ],
        "post-update-cmd": [
            "@php -r \"file_exists('vendor/autoload.php') && unlink('vendor/autoload.php');\"",
            "composer dump-autoload --optimize"
        ]
    }
}
