composer.json 4.0 KB

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