composer.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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/auto_entitylabel": "3.x-dev@dev",
  20. "drupal/cer": "^4.0@alpha",
  21. "drupal/core-composer-scaffold": "^9.1",
  22. "drupal/core-project-message": "^9.1",
  23. "drupal/core-recommended": "^9.3.5",
  24. "drupal/graphql": "^4.0",
  25. "drupal/insert": "2.x-dev@dev",
  26. "drupal/paragraphs": "^1.12",
  27. "drupal/redirect_after_login": "^2.7",
  28. "drupal/taxonomy_unique": "^2.3",
  29. "drupal/typed_data": "1.x-dev@dev",
  30. "drupal/views_autocomplete_filters": "^1.3",
  31. "kint-php/kint": "^3.3",
  32. "wikimedia/composer-merge-plugin": "^2.0"
  33. },
  34. "conflict": {
  35. "drupal/drupal": "*"
  36. },
  37. "minimum-stability": "stable",
  38. "prefer-stable": true,
  39. "config": {
  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. "patches": {
  78. "drupal/redirect_after_login": {
  79. "Headers have already been sent after upgrade to Drupal 9.2 (can't login) https://www.drupal.org/project/redirect_after_login/issues/3214949" : "https://www.drupal.org/files/issues/2021-06-20/3214949.patch"
  80. }
  81. },
  82. "merge-plugin": {
  83. "include": [
  84. "web/profiles/d8-starterkit-profile/composer.json"
  85. ],
  86. "recurse": true,
  87. "replace": false,
  88. "merge-extra": true
  89. },
  90. "drupal-core-project-message": {
  91. "include-keys": [
  92. "homepage",
  93. "support"
  94. ],
  95. "post-create-project-cmd-message": [
  96. "<bg=blue;fg=white> </>",
  97. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  98. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  99. "<bg=blue;fg=white> </>",
  100. "",
  101. "<bg=yellow;fg=black>Next steps</>:",
  102. " * Install the site: https://www.drupal.org/docs/8/install",
  103. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  104. " * Get support: https://www.drupal.org/support",
  105. " * Get involved with the Drupal community:",
  106. " https://www.drupal.org/getting-involved",
  107. " * Remove the plugin that prints this message:",
  108. " composer remove drupal/core-project-message"
  109. ]
  110. }
  111. }
  112. }