Skip to content

Instantly share code, notes, and snippets.

@webflo
Created December 4, 2015 14:08
Show Gist options
  • Save webflo/cdf901dc3833af489f97 to your computer and use it in GitHub Desktop.
Save webflo/cdf901dc3833af489f97 to your computer and use it in GitHub Desktop.
{
"name": "drupal-composer/drupal-project",
"description": "Composer template for Drupal projects",
"repositories": [
{
"type": "composer",
"url": "https://packagist.drupal-composer.org"
},
{
"type": "vcs",
"url": "https://github.com/deviantintegral/drupal-doctrine-cache.git"
},
{
"type": "vcs",
"url": "https://github.com/deviantintegral/aws-sdk-php.git"
}
],
"require": {
"composer/installers": "~1.0",
"derhasi/composer-preserve-paths": "0.1.*",
"drupal/drupal": "7.*",
"drupal/amazons3": "7.*"
},
"conflict": {
"drupal/core": "8.*"
},
"scripts": {
"post-create-project-cmd": [
"rm README.md LICENSE .travis.yml phpunit.xml.dist"
]
},
"config": {
"vendor-dir": "vendor"
},
"extra": {
"installer-paths": {
"web/": ["type:drupal-core"],
"web/sites/all/modules/contrib/{$name}/": ["type:drupal-module"],
"web/sites/all/themes/contrib/{$name}/": ["type:drupal-theme"],
"web/sites/all/libraries/{$name}/": ["type:drupal-library"],
"web/sites/all/drush/{$name}/": ["type:drupal-drush"],
"web/profiles/{$name}/": ["type:drupal-profile"]
},
"preserve-paths": [
"web/sites/all/modules/contrib",
"web/sites/all/themes/contrib",
"web/sites/all/libraries",
"web/sites/all/drush",
"web/sites/default/settings.php",
"web/sites/default/files"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment