{
    "name": "beyondwords/wordpress",
    "description": "The effortless way to make content listenable. Automatically create audio versions and embed via our customizable player.",
    "license": "GPL-2.0-or-later",
    "type": "project",
    "homepage": "https://beyondwords.io",
    "require": {
        "php": ">=8.0",
        "symfony/dom-crawler": "^5.4",
        "symfony/property-access": "^5.4"
    },
    "require-dev": {
        "automattic/vipwpcs": "^3.0.1",
        "behat/behat": "^3.13",
        "bordoni/phpass": "^0.3.6",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.1.2",
        "doctrine/instantiator": "^1.5",
        "ergebnis/composer-normalize": "^2.48.2",
        "php-parallel-lint/php-parallel-lint": "^1.4",
        "phpmd/phpmd": "^2.15",
        "phpro/grumphp": "^1.16",
        "phpunit/phpunit": "^9.6",
        "rector/rector": "^2.2",
        "rregeer/phpunit-coverage-check": "^0.3.1",
        "squizlabs/php_codesniffer": "^3.9.2",
        "symfony/css-selector": "^5.4",
        "symfony/error-handler": "^5.4",
        "symfony/filesystem": "^5.4",
        "symfony/finder": "^5.4",
        "symfony/http-client": "^5.4",
        "symfony/polyfill-mbstring": "^1.33",
        "symfony/string": "^5.4",
        "symfony/translation-contracts": "^2.5",
        "symfony/var-exporter": "^5.4",
        "vlucas/phpdotenv": "^5.6",
        "wp-cli/wp-cli-bundle": "^2.12",
        "wp-phpunit/wp-phpunit": "^5.9",
        "yoast/phpunit-polyfills": "^4.0"
    },
    "prefer-stable": true,
    "autoload": {
        "psr-4": {
            "Beyondwords\\Wordpress\\": "src/"
        }
    },
    "config": {
        "allow-plugins": {
            "automattic/vipwpcs": false,
            "behat/behat": false,
            "bordoni/phpass": false,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "ergebnis/composer-normalize": true,
            "php-parallel-lint/php-parallel-lint": false,
            "phpmd/phpmd": true,
            "phpro/grumphp": true,
            "rregeer/phpunit-coverage-check": true,
            "squizlabs/php_codesniffer": true,
            "symfony/*": false,
            "vlucas/phpdotenv": false,
            "wp-cli/wp-cli-bundle": true
        },
        "classmap-authoritative": true,
        "optimize-autoloader": true,
        "platform-check": false,
        "preferred-install": "dist",
        "process-timeout": 0,
        "sort-packages": true
    },
    "scripts": {
        "lint:plugins": "./vendor/bin/phpcs --standard=plugins/.phpcs.xml plugins/",
        "test:coverage-check": "./vendor/bin/coverage-check ./tests/phpunit/_report/clover.xml 80",
        "test:coverage-check-percentage": "./vendor/bin/coverage-check ./tests/phpunit/_report/clover.xml 80 --only-percentage | sed 's/[^0-9.]*//g'",
        "test:phpunit": [
            "yarn wp-env run tests-cli --env-cwd=wp-content/plugins/speechkit ./vendor/bin/phpunit -c phpunit.xml",
            "@test:coverage-check"
        ],
        "translate": [
            "@wp:i18n:make-pot",
            "cp ./languages/speechkit.pot ./languages/en_US.po",
            "@wp:i18n:make-mo"
        ],
        "wp:i18n:make-json": "wp i18n make-json ./languages --pretty-print",
        "wp:i18n:make-mo": "wp i18n make-mo ./languages",
        "wp:i18n:make-pot": "wp i18n make-pot ./ languages/speechkit.pot --slug=speechkit"
    }
}
