Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
composer.json 5.19 KiB
Newer Older
    "name": "openeuropa/oe_whitelabel",
    "description": "OpenEuropa Whitelabel theme.",
    "type": "drupal-theme",
    "license": "EUPL-1.2",
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
    },
    "scripts": {
        "post-install-cmd": "./vendor/bin/run drupal:site-setup",
        "post-update-cmd": "./vendor/bin/run drupal:site-setup"
    },
    "repositories": {
escuriola's avatar
escuriola committed
        "drupal":{
    "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": {
        "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"
            }
        },
            "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
        }