{
    "name": "webberzone/contextual-related-posts",
    "description": "Display related posts on your website or in your feed. Increase reader retention and reduce bounce rates.",
    "version": "4.2.0",
    "type": "wordpress-plugin",
    "keywords": [
        "related posts",
        "related",
        "related articles",
        "contextual related posts",
        "similar posts",
        "related posts widget",
        "contextual"
    ],
    "license": "gpl-2.0-or-later",
    "homepage": "https://webberzone.com/plugins/contextual-related-posts/",
    "authors": [
        {
            "name": "WebberZone",
            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=7.4"
    },
    "require-dev": {
        "szepeviktor/phpstan-wordpress": "^1",
        "phpstan/extension-installer": "^1",
        "phpstan/phpstan": "^1",
        "php-stubs/wordpress-stubs": "^6",
        "wp-coding-standards/wpcs": "^3",
        "dealerdirect/phpcodesniffer-composer-installer": "^1",
        "yoast/phpunit-polyfills": "^3",
        "phpunit/phpunit": "^9 || ^10 || ^11 || ^12",
        "php-stubs/woocommerce-stubs": "^10.4",
        "php-stubs/wp-cli-stubs": "^2.12"
    },
    "config": {
        "allow-plugins": {
            "phpstan/extension-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "build:vendor": "composer install --no-dev --optimize-autoloader --classmap-authoritative",
        "phpstan": "vendor/bin/phpstan analyse --memory-limit=2048M",
        "phpstan-baseline": "vendor/bin/phpstan analyse --memory-limit=2048M --generate-baseline",
        "phpcs": "vendor/bin/phpcs -p -v -s --standard=phpcs.xml.dist $(find . -name '*.php')",
        "phpcbf": "vendor/bin/phpcbf -p -v -s --standard=phpcs.xml.dist $(find . -name '*.php')",
        "phpcompat:setup": [
            "@php -r \"if (!is_dir('phpcompat-tools')) { mkdir('phpcompat-tools'); }\"",
            "@composer config --working-dir=phpcompat-tools allow-plugins.dealerdirect/phpcodesniffer-composer-installer true 2>/dev/null || true",
            "@composer require --working-dir=phpcompat-tools --dev --quiet --no-interaction squizlabs/php_codesniffer:^4.0 phpcompatibility/php-compatibility:dev-develop dealerdirect/phpcodesniffer-composer-installer:^1.0 2>/dev/null || true"
        ],
        "phpcompat": [
            "@phpcompat:setup",
            "phpcompat-tools/vendor/bin/phpcs -p --standard=PHPCompatibility --runtime-set testVersion 7.4-8.5 --extensions=php --ignore=*/vendor/*,*/node_modules/*,*/tests/*,*/phpunit/*,*/freemius/*,*/phpcompat-tools/* ."
        ],
        "phpcompat:clean": "rm -rf phpcompat-tools",
        "test": [
            "@phpcs",
            "@phpcompat",
            "@phpstan"
        ],
        "zip": "mkdir -p build && zip -X -r build/$(basename $(pwd)).zip . -x '*.git*' 'node_modules/*' '.*' '*/.git*' '*/.DS_Store' 'vendor/**/.DS_Store' 'vendor/bin/*' 'CODE_OF_CONDUCT.md' 'CONTRIBUTING.md' 'ISSUE_TEMPLATE.md' 'PULL_REQUEST_TEMPLATE.md' '*.dist' '*.yml' '*.neon' 'composer.*' 'package.json' 'package-lock.json' 'dev-helpers**' 'build**' 'wporg-assets**' 'test-tools**' 'docs/*' 'phpunit**' 'phpstan-bootstrap.php' 'phpcompat-tools**'"
    }
}