composer.json 4.2 KB

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