Skip to content
Snippets Groups Projects
This project manages its dependencies using Composer. Learn more
composer.json 11.63 KiB
{
    "name": "osu-asc-webservices/d8-upstream",
    "description": "OSU ASC Pantheon custom upstream for Drupal 8",
    "type": "project",
    "license": "None",
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "package",
            "package": {
                "name": "browserstate/history.js",
                "version": "1.8.0",
                "type": "drupal-library",
                "source": {
                    "url": "https://github.com/browserstate/history.js",
                    "type": "git",
                    "reference": "origin/master"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "ckeditor/indentblock",
                "version": "4.8.0",
                "type": "drupal-library",
                "extra": {
                    "installer-name": "indentblock"
                },
                "dist": {
                    "url": "https://download.ckeditor.com/indentblock/releases/indentblock_4.8.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "desandro/imagesloaded",
                "version": "4.1.4",
                "type": "drupal-library",
                "source": {
                    "url": "https://github.com/desandro/imagesloaded",
                    "type": "git",
                    "reference": "origin/master"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "desandro/masonry",
                "version": "4.2.0",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/desandro/masonry/archive/v4.2.0.zip",
                    "type": "zip"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "gdsmith/jquery.easing",
                "version": "1.4.1",
                "type": "drupal-library",
                "source": {
                    "url": "https://github.com/gdsmith/jquery.easing",
                    "type": "git",
                    "reference": "origin/master"
                }
            }
        }
    ],
    "require": {
        "php": ">=8.0",
        "browserstate/history.js": "1.8",
        "ckeditor/indentblock": "4.8.0",
        "composer/installers": "^1.9",
        "cweagans/composer-patches": "^1.7",
        "desandro/imagesloaded": "4.1.4",
        "desandro/masonry": "4.2",
        "dimsemenov/magnific-popup": "1.1",
        "drupal/addtocalendar": "3.4",
        "drupal/admin_toolbar": "3.4.2",
        "drupal/adminimal_theme": "^1.7",
        "drupal/administerusersbyrole": "3.4",
        "drupal/allowed_formats": "2.0",
        "drupal/anchor_link": "1.10",
        "drupal/better_exposed_filters": "^6.0",
        "drupal/block_field": "1.0.0-rc4",
        "drupal/block_permissions": "1.3",
        "drupal/block_region_permissions": "1.5",
        "drupal/bootstrap": "^3.23",
        "drupal/cache_control_override": "^1.0@alpha",
        "drupal/ckeditor": "^1.0",
        "drupal/ckeditor_indentblock": "^1.0",
        "drupal/config_filter": "1.10",
        "drupal/config_ignore": "2.4",
        "drupal/core-composer-scaffold": "^9.0",
        "drupal/core-recommended": "9.5.11",
        "drupal/crop": "2.3",
        "drupal/ctools": "3.14",
        "drupal/decorative_image_widget": "^1.0",
        "drupal/dropzonejs": "2.8",
        "drupal/editor_advanced_link": "2.2.4",
        "drupal/embed": "1.6",
        "drupal/entity_browser": "2.9",
        "drupal/entity_clone": "^2.0.0",
        "drupal/entity_embed": "1.4",
        "drupal/entity_reference_revisions": "1.10",
        "drupal/exif_orientation": "^1.1",
        "drupal/externalauth": "2.0.3",
        "drupal/field_group": "3.4",
        "drupal/field_permissions": "1.2",
        "drupal/focal_point": "^2.0",
        "drupal/google_analytics": "^4.0",
        "drupal/google_tag": "1.6",
        "drupal/honeypot": "2.1.3",
        "drupal/inline_entity_form": "1.0-rc15",
        "drupal/libraries": "^4.0",
        "drupal/link_attributes": "^2.1",
        "drupal/linkit": "6.0.0",
        "drupal/mathjax": "4.0.2",
        "drupal/media_entity_browser": "2.0-alpha4",
        "drupal/media_entity_file_replace": "^1.0",
        "drupal/menu_block": "1.10",
        "drupal/menu_breadcrumb": "^2.0@alpha",
        "drupal/metatag": "^2.0",
        "drupal/migrate_plus": "6.0.1",
        "drupal/migrate_tools": "6.0.1",
        "drupal/mobile_detect": "^3.0",
        "drupal/module_filter": "4.0.1",
        "drupal/msqrole": "^1.0",
        "drupal/multiple_fields_remove_button": "2.2.0",
        "drupal/pantheon_advanced_page_cache": "^2.1",
        "drupal/paragraphs": "1.16",
        "drupal/pathauto": "1.12",
        "drupal/queue_mail": "^1.4",
        "drupal/realname": "^2.0@beta",
        "drupal/rebuild_cache_access": "^1.8",
        "drupal/recaptcha": "3.2",
        "drupal/recaptcha_v3": "^2.0",
        "drupal/redirect": "^1.8",
        "drupal/roleassign": "2.0.0",
        "drupal/scheduler": "1.5",
        "drupal/simple_gmap": "3.1.0",
        "drupal/simple_sitemap": "4.1.6",
        "drupal/simplesamlphp_auth": "3.3",
        "drupal/smtp": "1.2",
        "drupal/social_media": "2.0.0",
        "drupal/social_media_links": "^2.8",
        "drupal/svg_image": "3.0.1",
        "drupal/token": "1.12",
        "drupal/twig_field_value": "^2.0",
        "drupal/twig_tweak": "^3.2",
        "drupal/ultimate_cron": "^2.0@alpha",
        "drupal/userprotect": "1.2",
        "drupal/video_embed_field": "2.5",
        "drupal/view_unpublished": "1.1",
        "drupal/views_ajax_history": "1.7",
        "drupal/views_autocomplete_filters": "1.6",
        "drupal/views_bootstrap": "^3.9",
        "drupal/views_bulk_operations": "4.2.5",
        "drupal/views_fieldsets": "^4",
        "drupal/views_infinite_scroll": "2.0.2",
        "drupal/webform": "^6.2",
        "drush-ops/behat-drush-endpoint": "0.0.5",
        "drush/drush": "^11",
        "enyo/dropzone": "^5",
        "gdsmith/jquery.easing": "1.4.1",
        "oomphinc/composer-installers-extender": "2.0",
        "pantheon-systems/quicksilver-pushback": "1.0.1"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "provide": {
        "drupal/ckeditor": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "autoload": {
        "classmap": [
            "scripts/composer/ScriptHandler.php"
        ]
    },
    "scripts": {
        "build-assets": [
            "@prepare-for-pantheon",
            "composer install --optimize-autoloader --no-dev"
        ],
        "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
        "prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon",
        "post-install-cmd": [
            "@drupal-scaffold",
            "rm -rf vendor/simplesamlphp/simplesamlphp/config",
            "cp -r config/simplesamlphp/config vendor/simplesamlphp/simplesamlphp/config",
            "rm -f web/simplesaml",
            "ln -s ../vendor/simplesamlphp/simplesamlphp/www web/simplesaml",
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ],
        "post-package-install": [
            "rm -rf web/modules/smtp/.git"
        ],
        "post-update-cmd": [
            "rm -rf vendor/simplesamlphp/simplesamlphp/config",
            "cp -r config/simplesamlphp/config vendor/simplesamlphp/simplesamlphp/config",
            "rm -f web/simplesaml",
            "ln -s ../vendor/simplesamlphp/simplesamlphp/www web/simplesaml",
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ],
        "post-create-project-cmd": [
            "@drupal-scaffold",
            "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
        ]
    },
    "extra": {
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library",
                "enyo/dropzone",
                "desandro/masonry",
                "dimsemenov/magnific-popup"
            ],
            "web/modules/{$name}": [
                "type:drupal-module"
            ],
            "web/profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "web/themes/{$name}": [
                "type:drupal-theme"
            ],
            "drush/contrib/{$name}": [
                "type:drupal-drush"
            ]
        },
        "build-env": {
            "install-cms": [
                "drush site-install standard --account-mail={account-mail} --account-name={account-name} --account-pass={account-pass} --site-mail={site-mail} --site-name={site-name} --yes",
                "drush pm-enable config_direct_save simple_block --yes",
                "drush pm-uninstall block_content --yes"
            ],
            "export-configuration": "drush config-export --yes"
        },
        "drupal-scaffold": {
            "source": "https://raw.githubusercontent.com/pantheon-systems/drops-8-scaffolding/{version}/{path}",
            "locations": {
                "web-root": "web/"
            },
            "file-mapping": {
                "[web-root]/INSTALL.txt": false,
                "[web-root]/README.txt": false,
                "[web-root]/example.gitignore": false,
                "[web-root]/modules/README.txt": false,
                "[web-root]/profiles/README.txt": false,
                "[web-root]/sites/README.txt": false,
                "[web-root]/themes/README.txt": false,
                "[web-root]/web.config": false
            }
        },
        "patches": {
            "drupal/core": {
                "2862291": "https://www.drupal.org/files/issues/2021-01-11/2862291-34.patch",
                "2949017": "https://www.drupal.org/files/issues/2019-12-12/2949017-59.patch",
                "rm nolink": "patches/rm-nolink.patch",
                "2648460": "https://www.drupal.org/files/issues/2022-12-19/2648460-33.patch"
            },
            "drupal/addtocalendar": {
                "UTC Time Adjustment": "patches/utc-time-adjustment.patch"
            },
            "drupal/entity_embed": {
                "3077225": "https://www.drupal.org/files/issues/2019-12-11/3077225-10.reduce-invalid-config-logs.patch"
            },
            "drupal/honeypot": {
                "2811189": "https://www.drupal.org/files/issues/2022-05-25/honeypot-field_weight-2811189-27_0.patch"
            },
            "drupal/social_media_links": {
                "Remove Google Plus": "patches/rm-googleplus.patch",
                "Fix Empty Link": "patches/accessibility-fix-empty-link.patch"
            },
            "drupal/views_ajax_history": {
                "3028400": "https://www.drupal.org/files/issues/2019-05-16/wrong-url-with-infinit-scroll-3028400-1.patch"
            }
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "platform": {
            "php": "8.1"
        },
        "allow-plugins": {
            "simplesamlphp/composer-module-installer": true,
            "composer/installers": true,
            "cweagans/composer-patches": true,
            "drupal/console-extend-plugin": true,
            "drupal/core-composer-scaffold": true,
            "oomphinc/composer-installers-extender": true
        }
    }
}