{
    "name": "openeuropa/oe_whitelabel",
    "description": "OpenEuropa Whitelabel theme.",
    "type": "drupal-theme",
    "license": "EUPL-1.2",
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "php": ">=7.4",
        "cweagans/composer-patches": "^1.7",
        "drupal/core": "^9.2",
        "drupal/twig_field_value": "^2.0",
        "openeuropa/oe_bootstrap_theme": "0.1317.202203291220"
    },
    "require-dev": {
        "composer/installers": "^1.11",
        "drupal/better_exposed_filters": "^5.0",
        "drupal/config_devel": "~1.2",
        "drupal/core-composer-scaffold": "^9.2",
        "drupal/core-dev": "^9.2",
        "drupal/ctools": "^3.7",
        "drupal/description_list_field": "^1.0@alpha",
        "drupal/drupal-extension": "~4.1",
        "drupal/file_link": "^2.0.6",
        "drupal/pathauto": "^1.8",
        "drupal/search_api": "^1.21",
        "drupal/search_api_autocomplete": "^1.5",
        "drupal/token": "^1.10",
        "drush/drush": "^10.3",
        "easyrdf/easyrdf": "1.0.0 as 0.9.1",
        "egulias/email-validator": "^2.1.22 || ^3.0",
        "league/csv": "^9.1",
        "nikic/php-parser": "^4.13",
        "openeuropa/code-review": "^1.7 || ^2.0",
        "openeuropa/composer-artifacts": "^1.0.0-alpha1",
        "openeuropa/oe_authentication": "^1.4",
        "openeuropa/oe_contact_forms": "~1.1",
        "openeuropa/oe_content": "^2.8.0",
        "openeuropa/oe_corporate_blocks": "^4.4",
        "openeuropa/oe_media": "^1.14",
        "openeuropa/oe_multilingual": "^1.9",
        "openeuropa/oe_paragraphs": "^1.12",
        "openeuropa/oe_starter_content": "1.x-dev",
        "openeuropa/task-runner-drupal-project-symlink": "^1.0-beta5",
        "phpspec/prophecy-phpunit": "^1 || ^2",
        "symfony/dom-crawler": "^4.4.12"
    },
    "scripts": {
        "post-install-cmd": "./vendor/bin/run drupal:site-setup",
        "post-update-cmd": "./vendor/bin/run drupal:site-setup"
    },
    "repositories": {
        "drupal":{
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        "openeuropa/oe_starter_content": {
            "type": "git",
            "url": "https://github.com/openeuropa/oe_starter_content"
        }
    },
    "autoload": {
        "psr-4": {
            "Drupal\\oe_whitelabel\\": "./src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Drupal\\Tests\\oe_whitelabel\\": "./tests/src/",
            "Drupal\\Tests\\oe_bootstrap_theme\\": "./build/themes/contrib/oe_bootstrap_theme/tests/src/"
        }
    },
    "extra": {
        "composer-exit-on-patch-failure": true,
        "enable-patching": true,
        "artifacts": {
            "openeuropa/oe_bootstrap_theme": {
                "dist": {
                    "url": "https://github.com/{name}/releases/download/{pretty-version}/{project-name}-{pretty-version}.zip",
                    "type": "zip"
                }
            }
        },
        "patches": {
            "openeuropa/oe_bootstrap_theme" : {
                "OEL-494": "https://github.com/openeuropa/oe_bootstrap_theme/compare/0.1317.202203291220..OEL-494-v2.diff"
            },
            "openeuropa/oe_paragraphs": {
                "OEL-494": "https://github.com/openeuropa/oe_paragraphs/compare/1.12.0..OEL-494.diff"
            }
        },
        "drupal-scaffold": {
            "locations": {
                "web-root": "./build"
            }
        },
        "_readme": [
            "Explicit minimum version requirement of drupal/ctools module due to D9.2 compatibility.",
            "Explicit requirement for drupal/file_link due to https://www.drupal.org/project/file_link/issues/3147517. It can be removed when oe_starter_content requires oe_media version 1.15.0 or above.",
            "Explicit requirement for drupal/pathauto due to D9.2 compatibility according to https://www.drupal.org/node/2979476.",
            "Explicit requirement for egulias/email-validator due to https://www.drupal.org/project/drupal/issues/3061074#comment-14300579. It can be removed when Drupal core 9.2 support is droppped.",
            "Explicit requirement for league/csv due to PHP 8.0 compatibility",
            "Explicit minimum version requirement for symfony/dom-crawler due to its lower versions using the deprecated function libxml_disable_entity_loader() in PHP8.",
            "Explicit requirement of token module due to PHP 8 compatbility."
        ],
        "installer-paths": {
            "build/core": [
                "type:drupal-core"
            ],
            "build/profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "build/modules/contrib/{$name}": [
                "type:drupal-module"
            ],
            "build/themes/contrib/{$name}": [
                "type:drupal-theme"
            ]
        }
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "openeuropa/composer-artifacts": true,
            "composer/installers": true,
            "drupal/core-composer-scaffold": true,
            "cweagans/composer-patches": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "phpro/grumphp": true
        }
    }
}