composer.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "drupal/drupal",
  3. "description": "Drupal is an open source content management platform powering millions of websites and applications.",
  4. "type": "project",
  5. "license": "GPL-2.0+",
  6. "require": {
  7. "composer/installers": "^1.0.24",
  8. "wikimedia/composer-merge-plugin": "^1.4"
  9. },
  10. "replace": {
  11. "drupal/core": "^8.4"
  12. },
  13. "minimum-stability": "dev",
  14. "prefer-stable": true,
  15. "config": {
  16. "preferred-install": "dist",
  17. "autoloader-suffix": "Drupal8"
  18. },
  19. "extra": {
  20. "_readme": [
  21. "By default Drupal loads the autoloader from ./vendor/autoload.php.",
  22. "To change the autoloader you can edit ./autoload.php.",
  23. "This file specifies the packages.drupal.org repository.",
  24. "You can read more about this composer repository at:",
  25. "https://www.drupal.org/node/2718229"
  26. ],
  27. "merge-plugin": {
  28. "include": [
  29. "core/composer.json"
  30. ],
  31. "recurse": false,
  32. "replace": false,
  33. "merge-extra": false
  34. },
  35. "installer-paths": {
  36. "core": ["type:drupal-core"],
  37. "modules/contrib/{$name}": ["type:drupal-module"],
  38. "profiles/contrib/{$name}": ["type:drupal-profile"],
  39. "themes/contrib/{$name}": ["type:drupal-theme"],
  40. "drush/contrib/{$name}": ["type:drupal-drush"],
  41. "modules/custom/{$name}": ["type:drupal-custom-module"],
  42. "themes/custom/{$name}": ["type:drupal-custom-theme"]
  43. }
  44. },
  45. "autoload": {
  46. "psr-4": {
  47. "Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
  48. }
  49. },
  50. "scripts": {
  51. "pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
  52. "post-autoload-dump": [
  53. "Drupal\\Core\\Composer\\Composer::ensureHtaccess"
  54. ],
  55. "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  56. "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup"
  57. },
  58. "repositories": [
  59. {
  60. "type": "composer",
  61. "url": "https://packages.drupal.org/8"
  62. }
  63. ]
  64. }