composer.json 4.1 KB

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