composer.json 4.1 KB

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