{
  "name": "320px/320px-site-audit",
  "description": "Local, read-only WordPress checks with clear results and next actions.",
  "type": "wordpress-plugin",
  "license": "GPL-2.0-or-later",
  "require": {
    "php": ">=7.4",
    "halaxa/json-machine": "^1.2.6"
  },
  "require-dev": {
    "dealerdirect/phpcodesniffer-composer-installer": "1.1.2",
    "php-parallel-lint/php-parallel-lint": "1.4.0",
    "php-stubs/wordpress-stubs": "6.9.4",
    "phpcompatibility/php-compatibility": "9.3.5",
    "phpcompatibility/phpcompatibility-wp": "2.1.8",
    "phpstan/phpstan": "2.2.9",
    "phpunit/phpunit": "9.6.33",
    "szepeviktor/phpstan-wordpress": "2.0.3",
    "wp-coding-standards/wpcs": "3.4.1"
  },
  "autoload": {
    "psr-4": {
      "Px320\\SiteAudit\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Px320\\SiteAudit\\Tests\\": "tests/"
    }
  },
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true
    },
    "platform": {
      "php": "7.4.33"
    },
    "sort-packages": true
  },
  "scripts": {
    "lint:php": "parallel-lint --exclude vendor --exclude node_modules --exclude runtime .",
    "lint:wpcs": "phpcs --standard=phpcs.xml.dist",
    "analyse": "phpstan analyse --configuration=phpstan.neon.dist --no-progress",
    "test": "phpunit --configuration=phpunit.xml.dist",
    "registry": [
      "php tools/validate-registry.php",
      "php tools/build-contract-fixtures.php --check",
      "php tools/validate-contract-fixtures.php"
    ],
    "i18n": "php tools/validate-i18n.php",
    "matrix": "php tools/validate-support-matrix.php",
    "directory-review": "php tools/validate-directory-review.php",
    "privacy": "php tools/validate-privacy-rule-packs.php",
    "quality": [
      "@lint:php",
      "@lint:wpcs",
      "@analyse",
      "@test",
      "@registry",
      "@privacy",
      "@i18n",
      "@matrix",
      "@directory-review"
    ]
  }
}
