composer.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. "drupal/tablefield": "^2.4",
  25. "wikimedia/composer-merge-plugin": "^2.1"
  26. },
  27. "conflict": {
  28. "drupal/drupal": "*"
  29. },
  30. "minimum-stability": "stable",
  31. "prefer-stable": true,
  32. "config": {
  33. "allow-plugins": {
  34. "composer/installers": true,
  35. "drupal/core-composer-scaffold": true,
  36. "drupal/core-project-message": true,
  37. "dealerdirect/phpcodesniffer-composer-installer": true,
  38. "wikimedia/composer-merge-plugin": true,
  39. "cweagans/composer-patches": true,
  40. "drupal/console-extend-plugin": true
  41. },
  42. "sort-packages": true
  43. },
  44. "extra": {
  45. "drupal-scaffold": {
  46. "locations": {
  47. "web-root": "web/"
  48. }
  49. },
  50. "installer-paths": {
  51. "web/core": [
  52. "type:drupal-core"
  53. ],
  54. "web/libraries/{$name}": [
  55. "type:drupal-library"
  56. ],
  57. "web/modules/contrib/{$name}": [
  58. "type:drupal-module"
  59. ],
  60. "web/profiles/contrib/{$name}": [
  61. "type:drupal-profile"
  62. ],
  63. "web/themes/contrib/{$name}": [
  64. "type:drupal-theme"
  65. ],
  66. "drush/Commands/contrib/{$name}": [
  67. "type:drupal-drush"
  68. ],
  69. "web/modules/custom/{$name}": [
  70. "type:drupal-custom-module"
  71. ],
  72. "web/profiles/custom/{$name}": [
  73. "type:drupal-custom-profile"
  74. ],
  75. "web/themes/custom/{$name}": [
  76. "type:drupal-custom-theme"
  77. ]
  78. },
  79. "drupal-core-project-message": {
  80. "include-keys": [
  81. "homepage",
  82. "support"
  83. ],
  84. "post-create-project-cmd-message": [
  85. "<bg=blue;fg=white> </>",
  86. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  87. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  88. "<bg=blue;fg=white> </>",
  89. "",
  90. "<bg=yellow;fg=black>Next steps</>:",
  91. " * Install the site: https://www.drupal.org/docs/installing-drupal",
  92. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  93. " * Get support: https://www.drupal.org/support",
  94. " * Get involved with the Drupal community:",
  95. " https://www.drupal.org/getting-involved",
  96. " * Remove the plugin that prints this message:",
  97. " composer remove drupal/core-project-message"
  98. ]
  99. },
  100. "merge-plugin": {
  101. "include": [
  102. "web/profiles/d8-starterkit-profile/composer.json"
  103. ],
  104. "recurse": true,
  105. "replace": false,
  106. "merge-extra": true
  107. }
  108. }
  109. }