composer.json 4.2 KB

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