{
  "name": "shutterpress/shutterpress-gallery",
  "description": "Photographers photo gallery for Wordpress",
  "type": "wordpress-plugin",
  "license": "GPL",
  "require": {
    "composer/installers": "~1.0",
    "wpackagist-plugin/meta-box": "^5.10.11"
  },
  "repositories": [
    {
      "type": "composer",
      "url": "https://wpackagist.org"
    }
  ],
  "extra": {
    "installer-paths": {
      "vendor/meta-box/meta-box": [
        "wpackagist-plugin/meta-box"
      ]
    }
  },
  "autoload": {
    "psr-4": {
      "Shutterpress\\Gallery\\": [
        "src/admin/",
        "src/includes/",
        "src/public/"
      ]
    },
    "exclude-from-classmap": [
      "vendor/meta-box/"
    ]
  },
  "config": {
    "allow-plugins": {
      "composer/installers": true,
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "pestphp/pest-plugin": true
    }
  },
  "require-dev": {
    "phpstan/phpstan": "^2.1",
    "szepeviktor/phpstan-wordpress": "^2.0",
    "squizlabs/php_codesniffer": "^3.13",
    "wp-coding-standards/wpcs": "^3.2",
    "phpcompatibility/php-compatibility": "^9.3",
    "phpcompatibility/phpcompatibility-wp": "^2.1",
    "friendsofphp/php-cs-fixer": "^3.64",
    "phpmd/phpmd": "^2.15",
    "pestphp/pest": "^3.0",
    "pestphp/pest-plugin-drift": "^3.0"
  },
  "scripts": {
    "cbf": "phpcbf || true",
    "cs": "phpcs || true",
    "phpstan": "php -d memory_limit=2G vendor/bin/phpstan analyse || true",
    "phpmd": "phpmd src html phpmd.xml > reports/phpmd.html || true",
    "phpunit": "phpunit",
    "pest": "pest || true",
    "sync": "rsync -avz -e \"ssh -i ~/.ssh/id_rsa\" /Users/olly/valet-sites/photo-plugins/wp-content/plugins/shutterpress-gallery rocksoli@rocksoliddesigns.co.uk:/home/rocksoli/plugintest/wp-content/plugins/",
    "lang": "wp i18n make-pot . languages/shutterpress-gallery.pot --include=src,includes --exclude=node_modules,vendor,tests,src/public/js,src/shutterpress-gallery-block && wp i18n update-po languages/shutterpress-gallery.pot && wp i18n make-mo languages && wp i18n make-json languages --domain=shutterpress-gallery --no-purge",
    "qa": [
      "@cs",
      "@phpstan",
      "@phpmd",
      "@pest"
    ]
  }
}
