{
  "name": "easylink-automations/easylink-automations",
  "description": "Advanced WordPress automation plugin",
  "type": "wordpress-plugin",
  "license": "GPL-2.0-or-later",
  "require": {
    "php": ">=8.0"
  },
  "require-dev": {
    "friendsofphp/php-cs-fixer": "^3",
    "sirbrillig/phpcs-variable-analysis": "^2",
    "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    "phpunit/phpunit": "^11",
    "yoast/phpunit-polyfills": "^4",
    "phpcompatibility/phpcompatibility-wp": "*",
    "szepeviktor/phpstan-wordpress": "^2",
    "phpstan/extension-installer": "^1",
    "rector/rector": "^2",
    "wp-coding-standards/wpcs": "^3.1"
  },
  "autoload": {
    "psr-4": {
      "EasyLinkAutomations\\": "./backend/app"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "EasyLinkAutomations\\CLI\\": "./cli",
      "EasyLinkAutomations\\Tests\\": "./tests"
    }
  },
  "scripts": {
    "clean": "rm -rf ./vendor && rm -f composer.lock",
    "reset": "composer clean && composer install",
    "test": "./vendor/bin/phpunit --testdox --colors=always tests/",
    "lint": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php",
    "phpcs": "phpcs -s",
    "phpcs:fix": "phpcbf",
    "analyze": "vendor/bin/phpstan analyse",
    "rector": "./vendor/bin/rector process --dry-run",
    "refactor": "./vendor/bin/rector process"
  },
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "phpstan/extension-installer": true
    }
  }
}
