{
    "name": "drupal/recommended-project",
    "description": "Project template for Drupal projects with a relocated document root",
    "type": "project",
    "license": "GPL-2.0-or-later",
    "homepage": "https://www.drupal.org/project/drupal",
    "support": {
        "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
        "chat": "https://www.drupal.org/node/314178"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],
    "require": {
        "composer/installers": "^2.0",
        "drupal/address": "^1.12",
        "drupal/admin_theme": "^1.0",
        "drupal/administerusersbyrole": "^3.4",
        "drupal/advanced_email_validation": "^1.1",
        "drupal/amswap": "^3.2",
        "drupal/autotitle": "^1.3",
        "drupal/better_exposed_filters": "^6.0",
        "drupal/conditional_fields": "^4.0@alpha",
        "drupal/config_pages": "^2.15",
        "drupal/content_as_config": "^1.0",
        "drupal/core-composer-scaffold": "^10.1",
        "drupal/core-project-message": "^10.1",
        "drupal/core-recommended": "^10.4",
        "drupal/field_permissions": "^1.3",
        "drupal/image_delta_formatter": "^1.2",
        "drupal/image_field_caption": "^2.0",
        "drupal/linked_field": "^1.5",
        "drupal/login_destination": "^2.0@beta",
        "drupal/mailsystem": "^4.4",
        "drupal/matomo": "^1.23",
        "drupal/menu_trail_by_path": "^2.0",
        "drupal/mimemail": "^1.0@alpha",
        "drupal/notify": "^2.0@beta",
        "drupal/page_manager": "^4.0@RC",
        "drupal/panels": "^4.7",
        "drupal/paragraphs": "^1.16",
        "drupal/phone_number": "^2.0@alpha",
        "drupal/quick_node_clone": "^1.18",
        "drupal/rules": "^4",
        "drupal/social_media_links": "^2.9",
        "drupal/typed_data": "^2",
        "drupal/views_argument_token": "^2.0",
        "drupal/webform": "^6.2",
        "drush/drush": "^12",
        "wikimedia/composer-merge-plugin": "^2.1"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "stable",
    "prefer-stable": true,
    "config": {
        "allow-plugins": {
            "composer/installers": true,
            "drupal/core-composer-scaffold": true,
            "drupal/core-project-message": true,
            "phpstan/extension-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "wikimedia/composer-merge-plugin": true,
            "cweagans/composer-patches": true
        },
        "sort-packages": true
    },
    "extra": {
        "drupal-scaffold": {
            "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/Commands/contrib/{$name}": [
                "type:drupal-drush"
            ],
            "web/modules/custom/{$name}": [
                "type:drupal-custom-module"
            ],
            "web/profiles/custom/{$name}": [
                "type:drupal-custom-profile"
            ],
            "web/themes/custom/{$name}": [
                "type:drupal-custom-theme"
            ]
        },
        "drupal-core-project-message": {
            "include-keys": [
                "homepage",
                "support"
            ],
            "post-create-project-cmd-message": [
                "<bg=blue;fg=white>                                                         </>",
                "<bg=blue;fg=white>  Congratulations, you’ve installed the Drupal codebase  </>",
                "<bg=blue;fg=white>  from the drupal/recommended-project template!          </>",
                "<bg=blue;fg=white>                                                         </>",
                "",
                "<bg=yellow;fg=black>Next steps</>:",
                "  * Install the site: https://www.drupal.org/docs/installing-drupal",
                "  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
                "  * Get support: https://www.drupal.org/support",
                "  * Get involved with the Drupal community:",
                "      https://www.drupal.org/getting-involved",
                "  * Remove the plugin that prints this message:",
                "      composer remove drupal/core-project-message"
            ]
        },
        "merge-plugin": {
            "include": [
                "web/profiles/drupal-starterkit-profile/composer.json"
            ],
            "recurse": true,
            "replace": false,
            "merge-extra": true
        },
        "patches": {
            "drupal/social_media_links":{
                "Replace Twitter with X https://www.drupal.org/project/social_media_links/issues/3384469": "https://www.drupal.org/files/issues/2023-09-12/social_media_links-change_twitter_to_x-3384469-7.patch"
            },
            "drupal/nodeaccess":{
                "Preserve role grants when adding custom grants on node https://www.drupal.org/project/nodeaccess/issues/3144313": "https://www.drupal.org/files/issues/2024-02-08/preserve-role-grants-when-adding-custom-grants-on-node--3144313--13.patch"
            }
        }

    }
}
