composer.json 4.0 KB

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