{
  "name": "shutterpress/shutterpress-migrate",
  "type": "wordpress-plugin",
  "autoload": {
    "psr-4": {
      "Shutterpress\\Gallery\\Migrate\\": "src/"
    }
  },
  "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",
    "phpmd/phpmd": "^2.15",
    "pestphp/pest": "^3.0"
  },
  "config": {
    "allow-plugins": {
      "composer/installers": true,
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "pestphp/pest-plugin": true
    }
  },
  "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",
    "test-integration": "phpunit --testsuite integration --bootstrap tests/integration/bootstrap.php -v ",
    "test-unit": "phpunit --testsuite unit --bootstrap tests/unit/bootstrap.php -v ",
    "pest-integration": "pest --testsuite integration --bootstrap tests/integration/bootstrap.php -v ",
    "pest-unit": "pest --testsuite unit --bootstrap tests/unit/bootstrap.php || true",
    "sync": "rsync -avz -e \"ssh -i ~/.ssh/id_rsa\" /Users/olly/valet-sites/photo-plugins/wp-content/plugins/shutterpress-migrate rocksoli@rocksoliddesigns.co.uk:/home/rocksoli/plugintest/wp-content/plugins/",
    "lang": "wp i18n make-pot . languages/shutterpress-migrate.pot --include=src,includes --exclude=node_modules,vendor,tests,src/admin/js,src/frontend/js && wp i18n update-po languages/shutterpress-migrate.pot && wp i18n make-mo languages && wp i18n make-json languages --domain=shutterpress-migrate --no-purge",
    "qa": [
      "@cs",
      "@phpstan",
      "@phpmd"
    ]
  }
}
