composer.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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/auto_entitylabel": "3.x-dev@dev",
  20. "drupal/core-composer-scaffold": "^9.1",
  21. "drupal/core-project-message": "^9.1",
  22. "drupal/core-recommended": "^9.1",
  23. "drupal/graphql": "^4.0",
  24. "drupal/insert": "2.x-dev@dev",
  25. "drupal/paragraphs": "^1.12",
  26. "drupal/redirect_after_login": "^2.7",
  27. "drupal/taxonomy_unique": "^2.3",
  28. "drupal/typed_data": "1.x-dev@dev",
  29. "drupal/views_autocomplete_filters": "^1.3",
  30. "kint-php/kint": "^3.3",
  31. "wikimedia/composer-merge-plugin": "^1.4"
  32. },
  33. "conflict": {
  34. "drupal/drupal": "*"
  35. },
  36. "minimum-stability": "stable",
  37. "prefer-stable": true,
  38. "config": {
  39. "sort-packages": true
  40. },
  41. "extra": {
  42. "drupal-scaffold": {
  43. "locations": {
  44. "web-root": "web/"
  45. }
  46. },
  47. "installer-paths": {
  48. "web/core": [
  49. "type:drupal-core"
  50. ],
  51. "web/libraries/{$name}": [
  52. "type:drupal-library"
  53. ],
  54. "web/modules/contrib/{$name}": [
  55. "type:drupal-module"
  56. ],
  57. "web/profiles/contrib/{$name}": [
  58. "type:drupal-profile"
  59. ],
  60. "web/themes/contrib/{$name}": [
  61. "type:drupal-theme"
  62. ],
  63. "drush/Commands/contrib/{$name}": [
  64. "type:drupal-drush"
  65. ],
  66. "web/modules/custom/{$name}": [
  67. "type:drupal-custom-module"
  68. ],
  69. "web/profiles/custom/{$name}": [
  70. "type:drupal-custom-profile"
  71. ],
  72. "web/themes/custom/{$name}": [
  73. "type:drupal-custom-theme"
  74. ]
  75. },
  76. "merge-plugin": {
  77. "include": [
  78. "web/profiles/d8-starterkit-profile/composer.json"
  79. ],
  80. "recurse": true,
  81. "replace": false,
  82. "merge-extra": true
  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/8/install",
  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. }
  106. }