{
  "description": "Project template for Drupal 8 projects with composer",
  "type": "project",
  "license": "GPL-2.0-or-later",
  "minimum-stability": "dev",
  "prefer-stable": true,
  "repositories": [
    {
      "type": "composer",
      "url": "https://packages.drupal.org/8"
    },
    {
      "type": "vcs",
      "url": "https://github.com/kporras07/BehatExtension"
    }
  ],
  "require": {
    "composer/installers": "^1.3",
    "drupal/core-composer-scaffold": "<%= coreVersion %>",
    "kporras07/composer-symlinks": "dev-master",
    "drupal/core-recommended": "<%= coreVersion %>",
    "cweagans/composer-patches": "^1.6.5",
    "drupal/redis": "^1.4",
    "drupal/search_api_solr": "^4.0",
    "drush/drush": "^9.7.1 | ^10.0.0",
    "platformsh/config-reader": "^2.3",
    "symfony/event-dispatcher": "4.3.4 as 3.4.35"
  },
  "require-dev": {
    "testdrupal/behatextension": "dev-update",
    "drush/drush": "^9.7.1 | ^10.0.0",
    "squizlabs/php_codesniffer": "^3.5",
    "drupal/coder": "^8.2",
    "behat/behat": "3.4.0",
    "drupal/console": "^1.0.2",
    "drupal/core-dev": "<%= coreVersion %>"
  },
  "conflict": {
    "drupal/drupal": "*"
  },
  "config": {
    "sort-packages": true
  },
  "autoload": {
    "classmap": ["composer-scripts/composer/ScriptHandler.php"]
  },
  "scripts": {
    "pre-install-cmd": [
      "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
    ],
    "pre-update-cmd": [
      "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
    ],
    "post-install-cmd": [
      "DrupalProject\\composer\\ScriptHandler::createRequiredFiles",
      "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks"
    ],
    "post-update-cmd": [
      "DrupalProject\\composer\\ScriptHandler::createRequiredFiles",
      "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks"
    ]
  },
  "extra": {
    "drupal-scaffold": {
      "allowed-packages": ["drupal/core"],
      "locations": {
        "web-root": "web/"
      }
    },
    "installer-paths": {
      "web/core": ["type:drupal-core"],
      "web/libraries/{$name}": ["type:drupal-library"],
      "web/modules/contrib/{$name}": ["type:drupal-module"],
      "web/profiles/contrib/{$name}": ["type:drupal-profile"],
      "web/themes/contrib/{$name}": ["type:drupal-theme"],
      "drush/contrib/{$name}": ["type:drupal-drush"],
      "web/modules/custom/{$name}": ["type:drupal-custom-module"],
      "web/themes/custom/{$name}": ["type:drupal-custom-theme"]
    },
    "symlinks": {
      "root/.htaccess": "web/.htaccess",
      "root/.gitignore": "web/.gitignore",
      "settings/settings.php": "web/sites/default/settings.php",
      "settings/settings.local.php": "web/sites/default/settings.local.php",
      "settings/settings.platformsh.php": "web/sites/default/settings.platformsh.php",
      "settings/settings.secret.php": "web/sites/default/settings.secret.php",
      "settings/services.yml": "web/sites/default/services.yml",
      "settings/services.local.yml": "web/sites/default/services.local.yml",
      "files": "web/sites/default/files",
      "config": "web/sites/default/config",
      "modules/custom": "web/modules/custom",
      "themes/custom": "web/themes/custom",
      "profiles": "web/profiles/custom"
    },
    "patches-file": "composer.patches.json"
  }
}
