{
  "name": "wp-graphql/wp-graphql",
  "description": "GraphQL API for WordPress",
  "type": "wordpress-plugin",
  "license": "GPL-3.0-or-later",
  "authors": [
    {
      "name": "Jason Bahl",
      "email": "jasonbahl@mac.com"
    },
    {
      "name": "Edwin Cromley"
    },
    {
      "name": "Ryan Kanner"
    },
    {
      "name": "Hughie Devore"
    },
    {
      "name": "Chris Zarate"
    }
  ],
  "require": {
    "php": "^7.1 || ^8.0",
    "webonyx/graphql-php": "14.9.0",
    "ivome/graphql-relay-php": "0.6.0"
  },
  "require-dev": {
    "lucatume/wp-browser": "~3.0",
    "codeception/module-asserts": "^1.0",
    "codeception/module-phpbrowser": "^1.0",
    "codeception/module-webdriver": "^1.0",
    "codeception/module-db": "^1.0",
    "codeception/module-filesystem": "^1.0",
    "codeception/module-cli": "^1.0",
    "codeception/util-universalframework": "^1.0",
    "automattic/vipwpcs": "^2.2",
    "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
    "wp-coding-standards/wpcs": "^2.3",
    "phpcompatibility/phpcompatibility-wp": "^2.1.0",
    "squizlabs/php_codesniffer": "^3.5.7",
    "phpstan/phpstan": "^0.12.64",
    "szepeviktor/phpstan-wordpress": "^0.7.1",
    "codeception/module-rest": "^1.2",
    "wp-graphql/wp-graphql-testcase": "~2.1",
    "phpunit/phpunit": "^8.5",
    "simpod/php-coveralls-mirror": "^3.0",
    "phpstan/extension-installer": "^1.1"
  },
  "config": {
    "optimize-autoloader": true,
    "process-timeout": 0
  },
  "autoload": {
    "files": [
      "access-functions.php",
      "activation.php",
      "deactivation.php"
    ],
    "psr-4": {
      "WPGraphQL\\": "src/"
    }
  },
  "scripts": {
    "install-test-env": "bash bin/install-test-env.sh",
    "docker-build": "bash bin/run-docker.sh build",
    "docker-run": "bash bin/run-docker.sh run",
    "docker-destroy": "docker-compose down",
    "build-and-run": [
      "@docker-build",
      "@docker-run"
    ],
    "build-app": "@docker-build -a",
    "build-test": "@docker-build -t",
    "run-app": "@docker-run -a",
    "run-test": "@docker-run -t",
    "lint": "vendor/bin/phpcs",
    "phpcs-i": [
      "php ./vendor/bin/phpcs -i"
    ],
    "check-cs": [
      "php ./vendor/bin/phpcs"
    ],
    "fix-cs": [
      "php ./vendor/bin/phpcbf"
    ],
    "phpstan": ["phpstan analyze --ansi --memory-limit=1G"]
  },
  "archive": {
    "exclude": [
      "*.yml",
      "!vendor/",
      "plugin-build/",
      "!src/Admin/GraphiQL/app/",
      "node_modules/",
      "!.wordpress-org/",
      "docs/",
      "wp-graphql.zip"
    ]
  }
}
