{
  "name": "theorchard/youtube-video-claiming",
  "description": "A collection of PHP scripts and cron jobs that automate video claiming for partnered YouTube channels.",
  "type": "project",
  "scripts": {
    "lint:parallel-lint": "parallel-lint src scripts",
    "lint:phpcs": "phpcs",
    "lint": [
      "@lint:phpcs",
      "@lint:parallel-lint"
    ],
    "phpstan": "phpstan analyse",
    "format": [
      "@format:phpcs",
      "@format:cs"
    ],
    "format:phpcs": "phpcbf",
    "format:cs": "php-cs-fixer fix --allow-risky=yes",
    "test": "phpunit",
    "check": "./build/check.sh",
    "pre-autoload-dump": "Google\\Task\\Composer::cleanup"
  },
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:theorchard/common.git"
    }
  ],
  "config": {
    "process-timeout": 600,
    "platform": {
      "php": "8.4"
    }
  },
  "require": {
    "sentry/sentry": "^4.19",
    "orchard/common": "~5.1",
    "d3r/monolog-cascade": "^1.0",
    "vlucas/phpdotenv": "^5.6",
    "symfony/cache": "^8.0",
    "psr/simple-cache": "^3.0",
    "guzzlehttp/guzzle": "^7.10",
    "google/apiclient": "^2.18"
  },
  "extra": {
    "google/apiclient-services": [
      "YouTube"
    ]
  },
  "autoload": {
    "psr-4": {
      "Orchard\\YoutubeVideoClaiming\\": "src/"
    }
  },
  "require-dev": {
    "squizlabs/php_codesniffer": "^4.0",
    "phpstan/phpstan": "^2.1",
    "friendsofphp/php-cs-fixer": "^3.88",
    "php-parallel-lint/php-parallel-lint": "^1.4",
    "php-parallel-lint/php-console-highlighter": "^1.0",
    "phpunit/phpunit": "^11.5",
    "phpunit/php-code-coverage": "^11.0",
    "mockery/mockery": "^1.6"
  },
  "autoload-dev": {
    "psr-4": {
      "Orchard\\YoutubeVideoClaiming\\Tests\\": "tests/"
    }
  }
}
