Skip to content

Instantly share code, notes, and snippets.

@webflo
Created December 12, 2014 17:22
Show Gist options
  • Save webflo/a55dbfd92da8d5534585 to your computer and use it in GitHub Desktop.
Save webflo/a55dbfd92da8d5534585 to your computer and use it in GitHub Desktop.
repo overwrite
{
"name": "reload/drupal-composer-project",
"description": "Composer template for Drupal projects",
"repositories": [
{
"type": "composer",
"url": "https://gist.githubusercontent.com/webflo/5ebd4103f374779882e6/raw/07c263f83194448bd13503cc62fcca554e05f955/composer.json"
},
{
"type": "composer",
"url": "http://drupal-packagist.webflo.io/"
}
],
"require": {
"azt3k/non-destructive-archive-installer": "0.2.*",
"composer/installers": "~1.0",
"drupal/drupal": "7.0.34",
"drupal/views": "7.3.8"
},
"scripts": {
"post-create-project-cmd": ["rm README.md LICENSE"]
},
"config": {
"vendor-dir": "htdocs/sites/all/vendor"
},
"extra": {
"installer-paths": {
"htdocs/sites/all/modules/contrib/{$name}/": ["type:drupal-module"],
"htdocs/sites/all/themes/contrib/{$name}/": ["type:drupal-theme"],
"htdocs/sites/all/libraries/{$name}/": ["type:drupal-library"],
"htdocs/sites/all/drush/{$name}/": ["type:drupal-drush"],
"htdocs/profiles/{$name}/": ["type:drupal-profile"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment