{
  "name": "understory/wordpress-plugin",
  "description": "Understory WordPress Plugin",
  "type": "wordpress-plugin",
  "license": "GPL-2.0-or-later",
  "require": {
    "php": ">=7.4"
  },
  "require-dev": {
    "squizlabs/php_codesniffer": "^3.13.4",
    "wp-coding-standards/wpcs": "^3.2.0",
    "phpcsstandards/phpcsutils": "^1.1.2",
    "phpcsstandards/phpcsextra": "^1.4.1",
    "phpcompatibility/phpcompatibility-wp": "^2.1.7",
    "automattic/vipwpcs": "^3.0.1",
    "php-stubs/wordpress-stubs": "^6.7",
    "jetbrains/phpstorm-stubs": "^2023.3"
  },
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true
    },
    "optimize-autoloader": true,
    "sort-packages": true
  },
  "scripts": {
    "lint": "phpcs --standard=WordPress-Core --extensions=php --ignore='*/node_modules/*,*/vendor/*,*/build/*' .",
    "lint:fix": "phpcbf --standard=WordPress-Core --extensions=php --ignore='*/node_modules/*,*/vendor/*,*/build/*' .",
    "lint:compat": "phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 7.4- --extensions=php --ignore='*/node_modules/*,*/vendor/*,*/build/*' .",
    "test:security": "phpcs --standard=WordPress-VIP-Go --extensions=php --ignore='*/node_modules/*,*/vendor/*,*/build/*' .",
    "cs:check": "@lint",
    "cs:fix": "@lint:fix"
  },
  "extra": {
    "wordpress-install-dir": "wordpress"
  }
}
