composer.json 4.1 KB

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