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

Skip to content
Snippets Groups Projects
composer.json 3.77 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":{
        }
    },
    "extra": {
        "composer-exit-on-patch-failure": true,
        "enable-patching": true,
        "drupal-scaffold": {
            "locations": {
                "web-root": "./build"
            }
        },
        "_readme": [
            "Explicit minimum version requirement of drupal/ctools module due to D9.2 compatability.",
            "Explicit requirement for drupal/file_link due to https://www.drupal.org/project/file_link/issues/3147517. It can be removed when oe_media requires version 2.0.4 or above.",
            "Explicit requirement for drupal/pathauto due to D9.2 compatability 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."
        ],
        "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"
            ]
        },
        "patches": {
            "openeuropa/oe_bootstrap_theme": {
                "Update oe_bootstrap_theme": "https://github.com/openeuropa/oe_bootstrap_theme/compare/0.1.202202072010...1.x.diff"