{
  "name": "shown/connector",
  "description": "WordPress plugin for Shown integration",
  "type": "wordpress-plugin",
  "license": "GPL-2.0-or-later",
  "authors": [
    {
      "name": "Renato",
      "email": "renato@shown.io"
    },
    {
      "name": "Rachid",
      "email": "rachid@shown.io"
    }
  ],
  "require": {
    "php": "^7.4 || ^8.0",
    "ext-json": "*"
  },
  "scripts": {
    "php-cs-check": "phpcs --standard=phpcs.xml",
    "php-cs-fix": "phpcbf --standard=phpcs.xml",
    "php-cs": "composer run php-cs-fix && composer run php-cs-check",
    "test": "phpunit",
    "test-coverage": "phpunit --coverage-text",
    "test-debug": "phpunit --debug --verbose"
  },
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "composer/installers": true
    },
    "github-protocols": [
      "https"
    ]
  },
  "require-dev": {
    "phpunit/phpunit": "^9.6",
    "yoast/phpunit-polyfills": "^2.0",
    "wp-coding-standards/wpcs": "^3.0",
    "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    "phpcompatibility/phpcompatibility-wp": "^2.1",
    "squizlabs/php_codesniffer": "^3.7",
    "mockery/mockery": "^1.6",
    "composer/installers": "^1.2 || ^2.0",
    "wpackagist-plugin/woocommerce": "^9.0",
    "woocommerce/wc-smooth-generator": "^1.2"
  },
  "repositories": [
    {
      "type": "composer",
      "url": "https://wpackagist.org",
      "only": [
        "wpackagist-plugin/*",
        "wpackagist-theme/*"
      ]
    },
    {
      "type": "vcs",
      "url": "https://github.com/woocommerce/wc-smooth-generator.git",
      "no-api": true
    }
  ],
  "extra": {
    "wordpress-install-dir": "vendor/wordpress/wordpress",
    "installer-paths": {
      "vendor/wordpress/wordpress/wp-content/plugins/{$name}/": [
        "type:wordpress-plugin"
      ]
    }
  },
  "autoload": {
    "psr-4": {
      "Shown\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Tests\\": "tests/"
    }
  }
}
