{
  "name": "a8cteam51/query-loop-load-more",
  "type": "wordpress-plugin",

  "description": "Adds a load more option to the Query Loop Pagination block in Gutenberg.",
  "homepage": "https://github.com/a8cteam51/query-loop-load-more",
  "license": "GPL-3.0-or-later",
  "authors": [
    {
      "name": "WordPress.com Special Projects Team",
      "homepage": "https://wpspecialprojects.wordpress.com/"
    },
    {
      "name": "Contributors",
      "homepage": "https://github.com/a8cteam51/query-loop-load-more/graphs/contributors"
    }
  ],

  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/a8cteam51/team51-configs"
    },
    {
      "type": "composer",
      "url": "https://wpackagist.org"
    }
  ],
  "require": {
    "php": ">=8.0",
    "ext-json": "*"
  },
  "require-dev": {
    "a8cteam51/team51-configs": "dev-trunk",

    "johnpbloch/wordpress-core": "6.2.*",

    "wp-cli/i18n-command": "^2.4",

    "phpunit/phpunit": "^9.6",

    "squizlabs/php_codesniffer": "3.*",
    "dealerdirect/phpcodesniffer-composer-installer": "*",
    "phpcompatibility/phpcompatibility-wp": "*",
    "wp-coding-standards/wpcs": "^3",

    "roave/security-advisories": "dev-latest"
  },

  "autoload": {
    "psr-4": {
      "WPcomSpecialProjects\\Qllm\\": "src/"
    }
  },
  "autoload-dev": {

  },

  "scripts": {
    "generate-autoloader": "@composer dump-autoload -o",

    "test": "phpunit",

    "format:php": "phpcbf --standard=./.phpcs.xml --basepath=. . -v",
    "lint:php": "phpcs --standard=./.phpcs.xml --basepath=. . -v",

    "internationalize": [
      "@makepot",
      "@updatepo",
      "@makejson"
    ],
    "makepot": "wp i18n make-pot .",
    "updatepo": "wp i18n update-po ./languages/query-loop-load-more.pot",
    "makejson": "wp i18n make-json ./languages --pretty-print --no-purge",
    "makemo": "wp i18n make-mo ./languages",

    "packages-install": "@composer install --ignore-platform-reqs --no-interaction",
    "packages-update": [
      "@composer clear-cache",
      "@composer update --prefer-stable --no-interaction"
    ]
  },
  "config": {
    "platform": {
      "php": "8.3.0"
    },
    "allow-plugins": {
      "composer/*": true,
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "phpstan/extension-installer": true
    }
  },

  "extra": {
    "installer-paths": {
      "vendor/wpackagist-plugin/{$name}/": [
        "type:wordpress-plugin"
      ],
      "vendor/wpackagist-theme/{$name}/": [
        "type:wordpress-theme"
      ]
    }
  }
}
