{
"name": "mynamespace/myproject",
"description": "Example composer file with provides",
"repositories": [
{
"type": "composer",
"url": "http://drupal-packagist.webflo.io/"
},
{
"type": "package",
"package": {
"name": "mynamespace/entityreference",
"version": "7.1.1",
"type": "drupal-module",
"dist": {
"url": "http://ftp.drupal.org/files/projects/entityreference-7.x-1.1.tar.gz",
"type": "tar"
},
"require": {
"drupal/drupal": "7.34",
"drupal/ctools": "7.*"
}
}
},
{
"type": "package",
"package": {
"name": "mynamespace/rules",
"version": "7.2.7",
"type": "drupal-module",
"dist": {
"url": "http://ftp.drupal.org/files/projects/rules-7.x-2.7.tar.gz",
"type": "tar"
},
"require": {
"drupal/drupal": "7.34"
}
}
}
],
"require": {
"mynamespace/entityreference": "7.1.1",
"mynamespace/rules": "7.2.7"
},
"provide": {
"drupal/entity": "7.*"
},
"extra": {
"custom-installer": {
"drupal-module": "back-dr/sites/all/modules/contrib/{$name}/",
"drupal-theme": "back-dr/sites/all/themes/contrib/{$name}/",
"drupal-library": "back-dr/sites/all/libraries/{$name}/",
"drupal-drush": "back-dr/sites/all/drush/{$name}/",
"drupal-profile": "back-dr/profiles/{$name}/",
"drupal-core": "back-dr/"
},
"preserve-paths": [
"back-dr/sites/all/modules/contrib",
"back-dr/sites/all/modules/custom",
"back-dr/sites/all/modules/features",
"back-dr/sites/all/themes/contrib",
"back-dr/sites/all/themes/custom",
"back-dr/sites/all/libraries",
"back-dr/sites/all/drush",
"back-dr/sites/default/settings.php",
"back-dr/sites/default/files"
]
}
}