{
    "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-3.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": "7.1.*",
        "phpunit/phpunit": "^8.5 || ^9.4",
        "roots/wordpress": "7.1.*",
        "wp-phpunit/wp-phpunit": "7.1.*",
        "yoast/phpunit-polyfills": "*",
        "vlucas/phpdotenv": "^5.6.1",
        "doctrine/instantiator": "~2.0.0",
        "wp-coding-standards/wpcs": "^3.4.1",
        "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",
        "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,assets/js/build/admin_settings.js,functions.php,functions-bootstrap.php --exclude=vendor,node_modules,pack,tests,lib,migrations,coverage,coverage-reports ",
        "updatepo": "wp i18n update-po ./languages/internet-archive-wayback-machine-link-fixer.pot",
        "makejson": "wp i18n make-json ./languages --pretty-print",
        "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
        }
    }
}
