Skip to content

Instantly share code, notes, and snippets.

@hussainweb
Created October 15, 2017 10:31
Show Gist options
  • Save hussainweb/bddb08663baee0ea3705683b06b27009 to your computer and use it in GitHub Desktop.
Save hussainweb/bddb08663baee0ea3705683b06b27009 to your computer and use it in GitHub Desktop.
Drupal 7 composer.json created with hussainweb/drupal-composer-init
{
"name": "hw/drupal-composer",
"description": "My awesome Drupal 7 site",
"type": "project",
"require": {
"php": ">=5.2.5",
"ext-gd": "*",
"ext-xml": "*",
"ext-json": "*",
"ext-openssl": "*",
"ext-curl": "*",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"cweagans/composer-patches": "^1.6.0",
"hussainweb/drupal-composer-helper": "^1.0-beta3",
"drupal-composer/preserve-paths": "^0.1",
"drupal/drupal": "~7.0",
"drupal/composer_autoloader": "^1.0",
"drush/drush": "~8.0",
"drupal/views": "^3.18"
},
"authors": [
{
"name": "hw",
"email": "masked@masked.com"
}
],
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/7"
}
],
"minimum-stability": "dev",
"extra": {
"drupal-composer-helper": {
"web-prefix": "web",
"set-d7-paths": true
},
"enable-patching": true,
"preserve-paths": [
"web/sites/all/libraries",
"web/sites/all/modules/custom",
"web/sites/all/modules/features",
"web/sites/all/themes/custom",
"web/sites/all/translations",
"web/sites/default"
]
},
"prefer-stable": true,
"conflict": {
"drupal/core": "8.*"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment