Created
April 12, 2017 12:52
-
-
Save zopyx/20904932c7b119ff985cf91b14e1bae0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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": "drupal/drupal", | |
"description": "Drupal is an open source content management platform powering millions of websites and applications.", | |
"type": "project", | |
"license": "GPL-2.0+", | |
"require": { | |
"composer/installers": "^1.0.24", | |
"wikimedia/composer-merge-plugin": "~1.3", | |
"zopyx/smashdocs": "*" | |
}, | |
"replace": { | |
"drupal/core": "~8.3" | |
}, | |
"minimum-stability": "dev", | |
"prefer-stable": true, | |
"config": { | |
"preferred-install": "dist", | |
"autoloader-suffix": "Drupal8" | |
}, | |
"extra": { | |
"_readme": [ | |
"By default Drupal loads the autoloader from ./vendor/autoload.php.", | |
"To change the autoloader you can edit ./autoload.php.", | |
"This file specifies the packages.drupal.org repository.", | |
"You can read more about this composer repository at:", | |
"https://www.drupal.org/node/2718229" | |
], | |
"merge-plugin": { | |
"include": [ | |
"core/composer.json" | |
], | |
"recurse": false, | |
"replace": false, | |
"merge-extra": false | |
}, | |
"installer-paths": { | |
"core": ["type:drupal-core"], | |
"modules/contrib/{$name}": ["type:drupal-module"], | |
"profiles/contrib/{$name}": ["type:drupal-profile"], | |
"themes/contrib/{$name}": ["type:drupal-theme"], | |
"drush/contrib/{$name}": ["type:drupal-drush"], | |
"modules/custom/{$name}": ["type:drupal-custom-module"], | |
"themes/custom/{$name}": ["type:drupal-custom-theme"], | |
"modules/contrib/smashdocs": ["type:drupal-custom-module"] | |
} | |
}, | |
"autoload": { | |
"psr-4": { | |
"Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer" | |
} | |
}, | |
"scripts": { | |
"pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump", | |
"post-autoload-dump": [ | |
"Drupal\\Core\\Composer\\Composer::ensureHtaccess", | |
"Drupal\\Core\\Composer\\Composer::configurePhpcs" | |
], | |
"post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup", | |
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup" | |
}, | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "https://github.com/zopyx/drupal-smashdocs.git" | |
}, | |
{ | |
"type": "composer", | |
"url": "https://packages.drupal.org/8" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You must add "modules/contrib/*/composer.json" into "merge-plugin" -> "include" section.