{
  "name": "ivuorinen/branch-usage-checker",
  "description": "GitHub Project branch usage checker.",
  "license": "MIT",
  "type": "project",
  "keywords": [
    "branch",
    "usage",
    "github",
    "console",
    "cli"
  ],
  "authors": [
    {
      "name": "Ismo Vuorinen",
      "homepage": "https://github.com/ivuorinen"
    }
  ],
  "homepage": "https://github.com/ivuorinen/branch-usage-checker",
  "support": {
    "issues": "https://github.com/ivuorinen/branch-usage-checker/issues",
    "source": "https://github.com/ivuorinen/branch-usage-checker"
  },
  "require": {
    "php": "^8.4",
    "illuminate/http": "^12.17"
  },
  "require-dev": {
    "captainhook/captainhook": "^5.28",
    "captainhook/hook-installer": "^1.0",
    "ergebnis/composer-normalize": "^2",
    "laravel-zero/framework": "^12",
    "mockery/mockery": "^1",
    "pestphp/pest": "^4",
    "phpmd/phpmd": "^2.15",
    "roave/security-advisories": "dev-latest",
    "squizlabs/php_codesniffer": "^4.0"
  },
  "suggest": {
    "ext-pcov": "Required for code coverage reporting (composer coverage)"
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "autoload": {
    "psr-4": {
      "App\\": "app/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Tests\\": "tests/"
    }
  },
  "bin": [
    "builds/branch-usage-checker"
  ],
  "config": {
    "allow-plugins": {
      "captainhook/hook-installer": true,
      "ergebnis/composer-normalize": true,
      "pestphp/pest-plugin": true
    },
    "optimize-autoloader": true,
    "preferred-install": "dist",
    "sort-packages": true
  },
  "scripts": {
    "post-autoload-dump": [
      "composer normalize"
    ],
    "build": [
      "cp application application.phar",
      "@php application app:build branch-usage-checker",
      "rm -f application.phar || true"
    ],
    "coverage": "php -d pcov.enabled=1 vendor/bin/pest --coverage",
    "format": "vendor/bin/phpcbf || true",
    "format:md": "npx markdown-table-formatter *.md docs/**/*.md",
    "lint": "vendor/bin/phpcs",
    "lint:all": [
      "@lint",
      "@lint:phpmd",
      "@lint:md",
      "@lint:ec"
    ],
    "lint:ec": "npx editorconfig-checker",
    "lint:md": [
      "npx markdownlint-cli2 '**/*.md' '#vendor' '#node_modules'",
      "npx markdown-table-formatter --check *.md docs/**/*.md"
    ],
    "lint:phpmd": "vendor/bin/phpmd app,tests text phpmd.xml",
    "test": "vendor/bin/pest",
    "x": "@php builds/branch-usage-checker"
  }
}
