composer.json 4.2 KB

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