Skip to content

Commit

Permalink
Adds Library Support
Browse files Browse the repository at this point in the history
Adds ability to download libraries through composer.
  • Loading branch information
Albert Jankowski authored Jul 9, 2018
1 parent 58cdf72 commit 7ba4911
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"description": "Install drops-8 with Composer on Pantheon.",
"type": "project",
"license": "MIT",
"repositories": [
{
"repositories": {
"0": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"1": {
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"require": {
},
"require": {
"composer/installers": "^1.0.20",
"cweagans/composer-patches": "^1.0",
"drupal-composer/drupal-scaffold": "^2.0.1",
Expand Down Expand Up @@ -71,6 +75,11 @@
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": [
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
Expand Down

0 comments on commit 7ba4911

Please sign in to comment.