composer.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "drupal/recommended-project",
  3. "description": "Project template for Drupal 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": "^2.0",
  19. "drupal/address": "^1.12",
  20. "drupal/advanced_email_validation": "^1.1",
  21. "drupal/config_pages": "^2.15",
  22. "drupal/content_as_config": "^1.0",
  23. "drupal/core-composer-scaffold": "^10.1",
  24. "drupal/core-project-message": "^10.1",
  25. "drupal/core-recommended": "^10.1",
  26. "drupal/linked_field": "^1.5",
  27. "drupal/login_destination": "^2.0@beta",
  28. "drupal/page_manager": "^4.0@RC",
  29. "drupal/panels": "^4.7",
  30. "drupal/paragraphs": "^1.16",
  31. "drupal/phone_number": "^2.0@alpha",
  32. "drupal/rules": "^3.0@alpha",
  33. "drupal/social_media_links": "^2.9",
  34. "drupal/typed_data": "^1.0@beta",
  35. "drupal/webform": "^6.2",
  36. "wikimedia/composer-merge-plugin": "^2.1"
  37. },
  38. "conflict": {
  39. "drupal/drupal": "*"
  40. },
  41. "minimum-stability": "stable",
  42. "prefer-stable": true,
  43. "config": {
  44. "allow-plugins": {
  45. "composer/installers": true,
  46. "drupal/core-composer-scaffold": true,
  47. "drupal/core-project-message": true,
  48. "phpstan/extension-installer": true,
  49. "dealerdirect/phpcodesniffer-composer-installer": true,
  50. "wikimedia/composer-merge-plugin": true,
  51. "cweagans/composer-patches": true
  52. },
  53. "sort-packages": true
  54. },
  55. "extra": {
  56. "drupal-scaffold": {
  57. "locations": {
  58. "web-root": "web/"
  59. }
  60. },
  61. "installer-paths": {
  62. "web/core": [
  63. "type:drupal-core"
  64. ],
  65. "web/libraries/{$name}": [
  66. "type:drupal-library"
  67. ],
  68. "web/modules/contrib/{$name}": [
  69. "type:drupal-module"
  70. ],
  71. "web/profiles/contrib/{$name}": [
  72. "type:drupal-profile"
  73. ],
  74. "web/themes/contrib/{$name}": [
  75. "type:drupal-theme"
  76. ],
  77. "drush/Commands/contrib/{$name}": [
  78. "type:drupal-drush"
  79. ],
  80. "web/modules/custom/{$name}": [
  81. "type:drupal-custom-module"
  82. ],
  83. "web/profiles/custom/{$name}": [
  84. "type:drupal-custom-profile"
  85. ],
  86. "web/themes/custom/{$name}": [
  87. "type:drupal-custom-theme"
  88. ]
  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/installing-drupal",
  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. "merge-plugin": {
  112. "include": [
  113. "web/profiles/drupal-starterkit-profile/composer.json"
  114. ],
  115. "recurse": true,
  116. "replace": false,
  117. "merge-extra": true
  118. }
  119. }
  120. }