Created
February 24, 2015 16:56
-
-
Save pcambra/c203a3c1685892a2b90c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment