composer.json 3.8 KB

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