Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackrabbithanna/6c1635e72ac1db0af78197861132384e to your computer and use it in GitHub Desktop.
Save jackrabbithanna/6c1635e72ac1db0af78197861132384e to your computer and use it in GitHub Desktop.
{
"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": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"civicrm-drupal-8": {
"type": "vcs",
"url" : "https://github.com/civicrm/civicrm-drupal-8.git"
},
"civicrm-core": {
"type": "vcs",
"url": "https://github.com/civicrm/civicrm-core.git"
},
"civicrm-packages": {
"type": "vcs",
"url": "https://github.com/civicrm/civicrm-packages.git"
}
},
"require": {
"civicrm/civicrm-asset-plugin": "~1.1",
"civicrm/civicrm-core": "dev-master",
"civicrm/civicrm-drupal-8": "dev-master",
"civicrm/civicrm-packages": "dev-master",
"composer/installers": "^1",
"cweagans/composer-patches": "^1.7",
"drupal/admin_toolbar": "^3.3",
"drupal/core-composer-scaffold": "^10.0",
"drupal/core-project-message": "^10.0",
"drupal/core-recommended": "^10.0",
"drupal/module_filter": "^4.0"
},
"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,
"cweagans/composer-patches": true,
"civicrm/civicrm-asset-plugin": true,
"civicrm/composer-downloads-plugin": true,
"civicrm/composer-compile-plugin": true
},
"sort-packages": true,
"autoloader-suffix": "Drupal8"
},
"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"
]
}
}
}
@jackrabbithanna
Copy link
Author

If you want CiviCRM Entity:
Add to the top of the "repositories" section

"drupal/civicrm_entity": {
            "type": "vcs",
            "url": "https://github.com/eileenmcnaughton/civicrm_entity.git"
        },

Then in "require" section:
"drupal/civicrm_entity": "4.0.0-alpha1",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment