{
    "name": "drupal/recommended-project",
    "description": "Project template for Drupal 9 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": {
        "civicrm/civicrm-core": "6.20.1",
        "civicrm/civicrm-drupal-8": "6.20.1",
        "civicrm/civicrm-packages": "6.20.1",
        "composer/installers": "^1.9",
        "consolidation/robo": "~5.1.0",
        "dompdf/dompdf": "*",
        "drupal/admin_toolbar": "^3.6",
        "drupal/backup_migrate": "^5.1",
        "drupal/civicrm_entity": "^3.5 || ^4.0@alpha",
        "drupal/civicrm_member_roles": "^1.0@beta",
        "drupal/classy": "^2.0",
        "drupal/cleantalk": "^9.7",
        "drupal/content_access": "^2.0",
        "drupal/core-composer-scaffold": "^11",
        "drupal/core-project-message": "^11",
        "drupal/core-recommended": "^11",
        "drupal/csv_serialization": "^4.0",
        "drupal/ctools": "^4.0",
        "drupal/devel": "^5.1",
        "drupal/diff": "^2.1",
        "drupal/eu_cookie_compliance": "^1.27",
        "drupal/field_permissions": "^1.2",
        "drupal/google_tag": "^2.0",
        "drupal/insert_view": "^3.0",
        "drupal/mail_login": "^4.2",
        "drupal/menu_trail_by_path": "^2.0",
        "drupal/metatag": "^2.2",
        "drupal/pathauto": "^1.12",
        "drupal/reroute_email": "^2.3@RC",
        "drupal/security_review": "^3.1",
        "drupal/sitemap": "^2.0@beta",
        "drupal/stable": "^2.0",
        "drupal/superfish": "^1.7",
        "drupal/token": "^1.12",
        "drupal/upgrade_status": "^5.0",
        "drupal/viewfield": "^3.0@beta",
        "drupal/views_bulk_operations": "^4.3",
        "drupal/views_data_export": "^1.3",
        "drush/drush": "^13",
        "mglaman/composer-drupal-lenient": "^1.0"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "config": {
        "preferred-install": {
            "drupal/insert_view": "source"
        },
	   "allow-plugins": {
            "civicrm/civicrm-asset-plugin": true,
            "civicrm/composer-compile-plugin": true,
            "civicrm/composer-downloads-plugin": true,
            "composer/installers": true,
            "cweagans/composer-patches": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "drupal/core-composer-scaffold": true,
            "drupal/core-project-message": true,
            "mglaman/composer-drupal-lenient": true,
            "symfony/runtime": true
        },
        "sort-packages": true,
        "policy": {
          "advisories": {
              "ignore-id": [
                  "PKSA-cv56-2228-pzr6",
                  "PKSA-6r8f-nxsb-67bq",
                  "PKSA-gh7h-hhy4-byg7",
                  "PKSA-mwt3-h9tv-kx78",
                  "PKSA-hp6n-n4kz-21wk",
                  "PKSA-mckv-s5hg-868k"
              ],
              "ignore-id": [
                    "PKSA-cv56-2228-pzr6",
                    "PKSA-6r8f-nxsb-67bq",
                    "PKSA-gh7h-hhy4-byg7",
                    "PKSA-mwt3-h9tv-kx78",
                    "PKSA-hp6n-n4kz-21wk",
                    "PKSA-mckv-s5hg-868k",
                    "PKSA-r15m-kszr-8n8q",
                    "PKSA-dxd5-wy68-pq29",
                    "PKSA-96jv-mtjg-g2v8",
                    "PKSA-zb3c-6qhx-m249",
                    "PKSA-r22k-87hv-mfk4",
                    "PKSA-m9cr-9614-rsf7",
                    "PKSA-dqzt-yst9-1w9y",
                    "PKSA-gz3f-3cz3-3wsw",
                    "PKSA-x13r-n4wc-4gcr",
                    "PKSA-8cfg-tzhf-fr83",
                    "PKSA-hznc-gbby-6w16",
                    "PKSA-jtdk-dcr5-f11n"
                ]
          }
        }
    },
    "extra": {
        "composer-exit-on-patch-failure": true,
        "enable-patching": true,
        "patchLevel": {
            "drupal/core": "-p2"
        },
        "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-scaffold": {
            "locations": {
                "web-root": "web/"
            }
        },
        "patches": {
            "civicrm/civicrm-packages": {
                "Fix for TypeError: strlen(): Argument #1 ($str) must be of type string": "patches/civicrm-packages.patch"
            },
            "drupal/menu_token": {
                "Make D10 compatible": "patches/menu_token.patch"
            }           
        },
        "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"
            ]
        },
        "drupal-lenient": {
            "allowed-list": ["drupal/menu_token", "drupal/insert_view"]
        },
        "compile-whitelist": ["civicrm/civicrm-core", "civicrm/composer-compile-lib"]
    }
}
