{
  "name": "akirk/enable-mastodon-apps",
  "description": "A WordPress plugin that implements the Mastodon API to enable access through Mastodon apps",
  "type": "wordpress-plugin",
  "license": "GPL-2.0-or-later",
  "require-dev": {
    "dealerdirect/phpcodesniffer-composer-installer": "*",
    "phpcompatibility/php-compatibility": "*",
    "wp-coding-standards/wpcs": "*",
    "yoast/phpunit-polyfills": "*",
    "php-parallel-lint/php-parallel-lint": "^1.3",
    "phpunit/phpunit": "*",
    "akirk/extract-wp-hooks": "*"
  },
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true
    }
  },
  "prefer-stable": true,
  "scripts": {
    "lint7": [
      "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude src/Exceptions/Error.php --exclude src/Exceptions/TypeError.php --exclude tests/Polyfills/Fixtures/ValueObjectUnion.php --exclude tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php"
    ],
    "lint-lt70": [
      "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --exclude src/TestCases/TestCasePHPUnitGte8.php --exclude src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7.php --exclude tests/Polyfills/Fixtures/ChildValueObject.php --exclude tests/Polyfills/Fixtures/ValueObject.php --exclude tests/Polyfills/Fixtures/ValueObjectUnion.php --exclude tests/Polyfills/Fixtures/ValueObjectUnionNoReturnType.php"
    ],
    "lint-gte80": [
      "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
    ],
    "check-cs": [
      "@php ./vendor/bin/phpcs"
    ],
    "fix-cs": [
      "@php ./vendor/bin/phpcbf"
    ],
    "test": [
      "@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
    ],
    "docker-test": [
      "composer install",
      "bin/install-wp-tests.sh ema-test root ema-test test-db latest true",
      "@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
    ],
    "update-wiki": [
      "test -d ../enable-mastodon-apps.wiki && php ./vendor/akirk/extract-wp-hooks/extract-wp-hooks.php && cd ../enable-mastodon-apps.wiki/ && git add . && git commit -m 'Update hooks'; git push"
    ]
  },
  "require": {
    "bshaffer/oauth2-server-php": "^1.10"
  }
}
