{
    "name": "a8cteam51/wayback-link-fixer",
    "type": "wordpress-plugin",
    "description": "A WordPress plugin that scans content for links, replacing broken ones with archived versions from the Wayback Machine. It also features Auto Archiving, creating snapshots of your own pages and other site links that aren’t yet archived. Uses Action Scheduler for background tasks.",
    "homepage": "https://github.com/a8cteam51/internet-archive-wayback-machine-link-fixer",
    "license": "GPL-2.0-or-later",
    "authors": [{
            "name": "WordPress.com Special Projects Team",
            "homepage": "https://wpspecialprojects.com/"
        },
        {
            "name": "Contributors",
            "homepage": "https://github.com/a8cteam51/internet-archive-wayback-machine-link-fixer/graphs/contributors"
        }
    ],
    "repositories": [{
            "type": "vcs",
            "url": "https://github.com/a8cteam51/team51-configs"
        },
        {
            "type": "composer",
            "url": "https://wpackagist.org"
        }
    ],
    "require": {
        "php": ">=7.4",
        "ext-json": "*",
        "woocommerce/action-scheduler": "3.9.*"
    },
    "require-dev": {
        "a8cteam51/team51-configs": "dev-trunk",
        "wp-cli/i18n-command": "^2.6",
        "squizlabs/php_codesniffer": "3.*",
        "dealerdirect/phpcodesniffer-composer-installer": "*",
        "roave/security-advisories": "dev-latest",
        "php-stubs/wordpress-stubs": "6.9.*",
        "phpunit/phpunit": "^8.5 || ^9.4",
        "roots/wordpress": "6.9.*",
        "wp-phpunit/wp-phpunit": "6.9.*",
        "yoast/phpunit-polyfills": "*",
        "vlucas/phpdotenv": "<=5.5.0",
        "wp-coding-standards/wpcs": "^3",
        "phpcompatibility/phpcompatibility-wp": "*",
        "phpstan/phpstan": "*",
        "szepeviktor/phpstan-wordpress": "*",
        "symfony/var-dumper": "^5.0",
        "gin0115/wpunit-helpers": "^1.1"
    },
    "autoload": {
        "psr-4": {
            "Internet_Archive\\Wayback_Machine_Link_Fixer\\": "src",
            "Internet_Archive\\Wayback_Machine_Link_Fixer_Migration\\": "migrations"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Internet_Archive\\Wayback_Machine_Link_Fixer_Tests\\": "tests"
        }
    },
    "scripts": {
        "run:php": [
            "composer install --ignore-platform-reqs --no-interaction",
            "@test:php",
            "@format:php",
            "@lint:php",
            "composer install --ignore-platform-reqs --no-interaction --no-dev -o"
        ],
        "generate-autoloader": "@composer dump-autoload -o",
        "scope-php-dependencies": [
            "vendor/bin/php-scoper add-prefix --prefix=Internet_Archive\\\\Wayback_Link_Fixer_Deps --output-dir=./dependencies --config=.php-scoper.inc.php --force --quiet",
            "@generate-autoloader"
        ],
        "test:php": "./vendor/bin/phpunit --testdox --colors=always",
        "coverage:php": "./vendor/bin/phpunit --coverage-html=coverage --coverage-text --colors=always --testdox",
        "format:php": "phpcbf --standard=./.phpcs.xml --basepath=. . -v",
        "lint:php": "phpcs --standard=./.phpcs.xml --basepath=. . -v",
        "internationalize": [
            "@makepot",
            "@updatepo",
            "@makejson"
        ],
        "makepot": "wp i18n make-pot . --include=src,templates,assets --exclude=vendor,node_modules,pack,tests,lib,migrations,coverage,coverate-reports ",
        "updatepo": "wp i18n update-po ./languages/internet-archive-wayback-machine-link-fixer.pot",
        "makejson": "wp i18n make-json ./languages --pretty-print --no-purge",
        "makemo": "wp i18n make-mo ./languages",
        "packages-install": "@composer install --ignore-platform-reqs --no-interaction",
        "packages-install--no-dev": "@packages-install --no-dev",
        "packages-update": [
            "@composer clear-cache",
            "@composer update --prefer-stable --no-interaction"
        ]
    },
    "config": {
        "allow-plugins": {
            "composer/*": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "roots/wordpress-core-installer": true,
            "phpstan/extension-installer": true
        }
    },
    "extra": {
        "installer-paths": {
            "vendor/wpackagist-plugin/{$name}/": [
                "type:wordpress-plugin"
            ],
            "vendor/wpackagist-theme/{$name}/": [
                "type:wordpress-theme"
            ]
        }
    }
}