{
  "name": "vardot/varbase-project",
  "description": "Project template for Varbase distribution.",
  "type": "project",
  "license": "GPL-2.0-or-later",
  "version": "9.1.13",
  "homepage": "https://www.drupal.org/project/varbase",
  "authors": [
    {
      "name": "Vardot",
      "homepage": "https://github.com/vardot",
      "role": "Maintainer"
    }
  ],
  "support": {
    "issues": "http://drupal.org/project/issues/varbase",
    "source": "http://cgit.drupalcode.org/varbase"
  },
  "repositories": {
    "drupal": {
      "type": "composer",
      "url": "https://packages.drupal.org/8"
    },
    "assets": {
      "type": "composer",
      "url": "https://asset-packagist.org"
    }
  },
  "require": {
    "drupal/core-composer-scaffold": "~10",
    "drupal/core-project-message": "~10",
    "webflo/drupal-finder": "~1",
    "cweagans/composer-patches": "~1", 
    "vardot/varbase": "~9.1.0",
    "vardot/varbase-patches": "~9.2.0",
    "drush/drush": "~13",
    "drupal/auto_entitylabel": "^3.4",
    "drupal/background_image_formatter": "^2.0",
    "drupal/entity_print": "^2.18",
    "drupal/fb_likebox": "^2.3",
    "drupal/h5p": "2.0.x-dev@dev",
    "drupal/h5peditor": "^2.0@beta",
    "drupal/hierarchical_term_formatter": "^1.5",
    "drupal/ckeditor_bs_grid": "^2.1",
    "drupal/csv_serialization": "^4.0",
    "drupal/jquery_ui_datepicker": "^2.1",
    "drupal/jquery_ui_slider": "^2.1",
    "drupal/jquery_ui_touch_punch": "^1.1",
    "drupal/layout_builder_block_sanitizer": "^1.0@dev",
    "drupal/mailchimp": "^3.1",
    "drupal/mailchimp_campaign": "^3.1",
    "drupal/mailchimp_lists": "^3.1",
    "drupal/mailchimp_signup": "^3.1",
    "drupal/media_revisions_ui": "^2.1",
    "drupal/simple_popup_blocks": "^3.5",
    "drupal/smart_date": "^4.2",
    "drupal/taxonomy_import": "^2.1",
    "drupal/term_reference_tree": "^2.0",
    "drupal/upgrade_status": "^4.3",
    "drupal/views_data_export": "^1.10",
    "drupal/webform_paragraphs": "^1.2",
    "drupal/book": "^1.0",
     "drupal/h5p": "2.0.x-dev@dev",
    "tecnickcom/tcpdf": "~6",
    "mikehaertl/phpwkhtmltopdf": "~2.1",
    "drupal/taxonomy_manager": "^2.0"
  },
  "config": {
    "bin-dir": "bin/",
    "secure-http": true,
    "optimize-autoloader": true,
    "preferred-install": {
      "drupal/core": "dist"
    },
    "allow-plugins": {
      "composer/installers": true,
      "cweagans/composer-patches": true,
      "oomphinc/composer-installers-extender": true,
      "drupal/core-composer-scaffold": true,
      "drupal/core-project-message": true,
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "phpstan/extension-installer": true,
      "php-http/discovery": true,
      "tbachert/spi": true
    }
  },
  "scripts": {
    "post-install-cmd": [
      "Varbase\\composer\\ScriptHandler::createRequiredFiles",
      "Varbase\\composer\\ScriptHandler::removeGitDirectories"
    ],
    "post-update-cmd": [
      "Varbase\\composer\\ScriptHandler::createRequiredFiles",
      "Varbase\\composer\\ScriptHandler::removeGitDirectories"
    ],
    "post-drupal-scaffold-cmd": ["Varbase\\composer\\ScriptHandler::postDrupalScaffoldProcedure"],
    "drupal-libraries-sync": [
      "@drupal-libraries-yarn-sync"
    ],
    "drupal-libraries-yarn-sync": [
      "yarn install",
      "node ./docroot/profiles/varbase/scripts/drupal-libraries-sync.js"
    ],
    "drupal-libraries-npm-sync": [
      "npm install",
      "node ./docroot/profiles/varbase/scripts/drupal-libraries-sync.js"
    ],
    "post-create-project-cmd": [
      "@drupal-libraries-sync"
    ]
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "conflict": {
    "drupal/drupal": "*"
  },
  "extra": {
    "drupal-core-project-message": {
        "include-keys": ["homepage", "support"],
        "post-create-project-cmd-message": [
            "<bg=blue;fg=white>                                                           </>",
            "<bg=blue;fg=white>  Congratulations, you have installed the Varbase codebase </>",
            "<bg=blue;fg=white>  from the vardot/varbase-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://docs.varbase.vardot.com",
            "  * Get support: https://www.vardot.com/en/form/get-support-varbase",
            "  * Join Our Slack Team for Feedback and Support:",
            "      http://slack.varbase.vardot.com",
            "  * Remove the plugin that prints this message:",
            "      composer remove drupal/core-project-message"
        ]
    },
    "drupal-scaffold": {
      "allowed-packages": [
        "drupal/core"
      ],
      "gitignore": true,
      "locations": {
        "web-root": "docroot/"
      },
      "file-mapping": {
        "[web-root]/sites/default/default.services.yml": {
          "mode": "replace",
          "overwrite": false,
          "path": "docroot/core/assets/scaffold/files/default.services.yml"
        },
        "[web-root]/sites/default/default.settings.php": {
          "mode": "replace",
          "overwrite": false,
          "path": "docroot/core/assets/scaffold/files/default.settings.php"
        }
      }
    },
    "installer-paths": {
      "docroot/core": ["type:drupal-core"],
      "docroot/profiles/{$name}": ["type:drupal-profile"],
      "docroot/modules/contrib/{$name}": ["type:drupal-module"],
      "docroot/themes/contrib/{$name}": ["type:drupal-theme"],
      "docroot/recipes/contrib/{$name}": ["type:drupal-recipe"],
      "docroot/libraries/{$name}": ["type:drupal-library"],
      "docroot/modules/custom/{$name}": ["type:drupal-custom-module"],
      "docroot/themes/custom/{$name}": ["type:drupal-custom-theme"],
      "drush/contrib/{$name}": ["type:drupal-drush"],
      "docroot/libraries/slick": ["npm-asset/slick-carousel"],
      "docroot/libraries/{$name}": [
        "type:drupal-library",
        "type:bower-asset",
        "type:npm-asset"
      ]
    },
    "installer-types": [
           "bower-asset",
           "npm-asset"
         ],
    "drupal-libraries": {
      "library-directory": "docroot/libraries",
      "libraries": [
        {"name": "slick", "package": "npm-asset/slick-carousel"}
      ]
    },

    "enable-patching": true,
    "composer-exit-on-patch-failure": true,
    "patchLevel": {
      "drupal/core": "-p2"
    },
        "patches": {  
      "drupal/h5p": {
        "Fix h5p": "https://www.drupal.org/files/issues/2026-05-17/3588536-fix-issue-dont-work-in-drupal11.patch"
      }
    }
  }
}
