composer.json 3.9 KB

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