composer.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "drupal/recommended-project",
  3. "description": "Project template for Drupal 9 projects with a relocated document root",
  4. "type": "project",
  5. "license": "GPL-2.0-or-later",
  6. "homepage": "https://www.drupal.org/project/drupal",
  7. "support": {
  8. "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
  9. "chat": "https://www.drupal.org/node/314178"
  10. },
  11. "repositories": [
  12. {
  13. "type": "composer",
  14. "url": "https://packages.drupal.org/8"
  15. }
  16. ],
  17. "require": {
  18. "composer/installers": "^1.9",
  19. "drupal/core-composer-scaffold": "^9.5",
  20. "drupal/core-project-message": "^9.5",
  21. "drupal/core-recommended": "^9.5",
  22. "drupal/layout_builder_blocks": "^1.1",
  23. "drupal/paragraphs": "^1.15",
  24. "wikimedia/composer-merge-plugin": "^2.1"
  25. },
  26. "conflict": {
  27. "drupal/drupal": "*"
  28. },
  29. "minimum-stability": "stable",
  30. "prefer-stable": true,
  31. "config": {
  32. "allow-plugins": {
  33. "composer/installers": true,
  34. "drupal/core-composer-scaffold": true,
  35. "drupal/core-project-message": true,
  36. "dealerdirect/phpcodesniffer-composer-installer": true,
  37. "wikimedia/composer-merge-plugin": true,
  38. "cweagans/composer-patches": true,
  39. "drupal/console-extend-plugin": true
  40. },
  41. "sort-packages": true
  42. },
  43. "extra": {
  44. "drupal-scaffold": {
  45. "locations": {
  46. "web-root": "web/"
  47. }
  48. },
  49. "installer-paths": {
  50. "web/core": [
  51. "type:drupal-core"
  52. ],
  53. "web/libraries/{$name}": [
  54. "type:drupal-library"
  55. ],
  56. "web/modules/contrib/{$name}": [
  57. "type:drupal-module"
  58. ],
  59. "web/profiles/contrib/{$name}": [
  60. "type:drupal-profile"
  61. ],
  62. "web/themes/contrib/{$name}": [
  63. "type:drupal-theme"
  64. ],
  65. "drush/Commands/contrib/{$name}": [
  66. "type:drupal-drush"
  67. ],
  68. "web/modules/custom/{$name}": [
  69. "type:drupal-custom-module"
  70. ],
  71. "web/profiles/custom/{$name}": [
  72. "type:drupal-custom-profile"
  73. ],
  74. "web/themes/custom/{$name}": [
  75. "type:drupal-custom-theme"
  76. ]
  77. },
  78. "drupal-core-project-message": {
  79. "include-keys": [
  80. "homepage",
  81. "support"
  82. ],
  83. "post-create-project-cmd-message": [
  84. "<bg=blue;fg=white> </>",
  85. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  86. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  87. "<bg=blue;fg=white> </>",
  88. "",
  89. "<bg=yellow;fg=black>Next steps</>:",
  90. " * Install the site: https://www.drupal.org/docs/installing-drupal",
  91. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  92. " * Get support: https://www.drupal.org/support",
  93. " * Get involved with the Drupal community:",
  94. " https://www.drupal.org/getting-involved",
  95. " * Remove the plugin that prints this message:",
  96. " composer remove drupal/core-project-message"
  97. ]
  98. },
  99. "merge-plugin": {
  100. "include": [
  101. "web/profiles/d8-starterkit-profile/composer.json"
  102. ],
  103. "recurse": true,
  104. "replace": false,
  105. "merge-extra": true
  106. }
  107. }
  108. }