{
  "name": "vardot/varbase-project",
  "description": "Project template for Varbase distribution.",
  "type": "project",
  "license": "GPL-2.0-or-later",
  "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"
    },
    "composer-patches": {
      "type": "vcs",
      "url": "https://github.com/vardot/composer-patches"
    }
  },
  "require": {
    "composer/installers": "~1.0 || ~2.0",
    "oomphinc/composer-installers-extender": "~1.0 || ~2.0",
    "cweagans/composer-patches": "~1.0",
    "drupal/core-composer-scaffold": "^9",
    "drupal/core-project-message": "^9",
    "drupal/core-recommended": "^9",
    "webflo/drupal-finder": "~1.0",
    "webmozart/path-util": "~2.0",
    "vardot/varbase": "~9.0",
    "vardot/varbase-updater": "~2.0",
    "drupal/colorbutton": "^1.2",
    "drupal/memcache": "^2.1",
    "drupal/file_download": "^1.3",
    "drupal/view_unpublished": "^1.0",
    "drupal/color_field": "^2.4",
    "drupal/sharethis": "^2.0@beta",
    "drupal/varbase_media_header": "~9.0",
    "platformsh/config-reader": "^2.3",
    "drupal/colorbox": "^1.6",
    "drush/drush": "^10.0.0",
    "drupal/readmore": "^2.0@alpha",
    "drupal/vartheme_admin": "^6.12"
  },
  "replace": {
    "ajaxorg/ace-builds": "*"
  },
  "config": {
    "bin-dir": "bin/",
    "secure-http": false,
    "optimize-autoloader": true,
    "preferred-install": {
      "drupal/core": "dist"
    },
    "allow-plugins": {
      "composer/installers": true,
      "cweagans/composer-patches": true,
      "drupal/core-composer-scaffold": true,
      "drupal/core-project-message": true,
      "vardot/varbase-updater": true,
      "oomphinc/composer-installers-extender": 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"]
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "conflict": {
    "drupal/drupal": "*"
  },
  "extra": {
    "drupal-scaffold": {
      "allowed-packages": [
        "drupal/core"
      ],
      "locations": {
        "web-root": "docroot/"
      }
    },
    "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 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/8/install",
            "  * 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"
        ]
    },
    "_readme": [
      "NOTICE: We're now using composer patches from Vardot repository to suggest",
      "several fixes and better handling of patches in your Drupal project.",
      "You'll notice that we have included (https://github.com/vardot/composer-patches)",
      "in this composer.json repositories. This will replace the original",
      "library (cweagans/composer-patches) with our own from (vardot/composer-patches).",
      "See https://github.com/cweagans/composer-patches/pull/243 and more details",
      "on our changes on the composer-patches package. Once our changes get merged,",
      "we will revert to using (cweagans/composer-patches) without this override."
    ],
    "branch-alias": {
      "dev-8.x-8.x": "8.8.x-dev"
    },
    "installer-types": [
      "bower-asset",
      "npm-asset"
    ],
    "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/libraries/slick": ["npm-asset/slick-carousel"],
      "docroot/libraries/ace": ["npm-asset/ace-builds"],
      "docroot/libraries/masonry": ["npm-asset/masonry-layout"],
      "docroot/libraries/{$name}": [
        "type:drupal-library",
        "type:bower-asset",
        "type:npm-asset"
      ],
      "docroot/modules/custom/{$name}": ["type:drupal-custom-module"],
      "docroot/themes/custom/{$name}": ["type:drupal-custom-theme"],
      "drush/contrib/{$name}": ["type:drupal-drush"]
    },
    "drupal-libraries": {
      "library-directory": "docroot/libraries",
      "libraries": [
        {"name": "dropzone","package": "npm-asset/dropzone"},
        {"name": "blazy", "package": "npm-asset/blazy"},
        {"name": "slick", "package": "npm-asset/slick-carousel"},
        {"name": "ace", "package": "npm-asset/ace-builds"},
        {"name": "chartjs", "package": "bower-asset/chartjs"},
        {"name": "c3","package": "bower-asset/c3"},
        {"name": "d3", "package": "bower-asset/d3"},
        {"name": "masonry", "package": "npm-asset/masonry-layout"},
        {"name": "imagesloaded", "package": "npm-asset/imagesloaded"},
        {"name": "swagger-ui", "package": "swagger-api/swagger-ui"}
      ]
    },
    "enable-patching": true,
    "composer-exit-on-patch-failure": false,
    "patches": {
      "drupal/core": {
        "Issue #3132426 Notice: Undefined index: title in ProjectSecurityRequirement": "https://www.drupal.org/files/issues/2020-05-27/3132426-16B-remove-dead-code.patch",
        "Issue #3101714 Link field display defaults to trim at 80 chars, breaking longer plaintext URLs": "https://www.drupal.org/files/issues/2020-07-01/drupal-3101714-18.patch"
      },
      "drupal/entity_reference_revisions": {
        "Issue #3150084 Non-translatable fields can only be changed when updating the current revision": "https://www.drupal.org/files/issues/2020-06-09/3150084_2.patch"
      },
      "drupal/colorbox": {
        "Issue #3021913: Add support for remote video media": "https://www.drupal.org/files/issues/2020-03-26/colorbox-remote-video-support-3021913-17.patch"
      }
    },
    "patches-ignore": {
      "drupal/varbase_core": {
        "drupal/core": {
          "Issue #3053881: Reverting entity revisions that contain custom blocks erroneously triggers EntityChangedConstraint":
          "https://www.drupal.org/files/issues/2021-10-29/3053881-60.patch"
        }
      }
    },
    "patchLevel": {
       "drupal/core": "-p2"
    }
  }
}
