composer.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/admin_toolbar": "^2.5.0",
  20. "drupal/auto_entitylabel": "3.x-dev@dev",
  21. "drupal/cer": "^4.0@alpha",
  22. "drupal/core-composer-scaffold": "^9.1",
  23. "drupal/core-project-message": "^9.1",
  24. "drupal/core-recommended": "^9.1",
  25. "drupal/graphql": "^4.0",
  26. "drupal/insert": "2.x-dev@dev",
  27. "drupal/paragraphs": "^1.12",
  28. "drupal/redirect_after_login": "^2.7",
  29. "drupal/taxonomy_unique": "^2.3",
  30. "drupal/typed_data": "1.x-dev@dev",
  31. "drupal/views_autocomplete_filters": "^1.3",
  32. "kint-php/kint": "^3.3",
  33. "wikimedia/composer-merge-plugin": "^2.0"
  34. },
  35. "conflict": {
  36. "drupal/drupal": "*"
  37. },
  38. "minimum-stability": "stable",
  39. "prefer-stable": true,
  40. "config": {
  41. "sort-packages": true
  42. },
  43. "extra": {
  44. "drupal-scaffold": {
  45. "locations": {
  46. "web-root": "web/"
  47. }
  48. },
  49. "installer-paths": {
  50. "web/core": [
  51. "type:drupal-core"
  52. ],
  53. "web/libraries/{$name}": [
  54. "type:drupal-library"
  55. ],
  56. "web/modules/contrib/{$name}": [
  57. "type:drupal-module"
  58. ],
  59. "web/profiles/contrib/{$name}": [
  60. "type:drupal-profile"
  61. ],
  62. "web/themes/contrib/{$name}": [
  63. "type:drupal-theme"
  64. ],
  65. "drush/Commands/contrib/{$name}": [
  66. "type:drupal-drush"
  67. ],
  68. "web/modules/custom/{$name}": [
  69. "type:drupal-custom-module"
  70. ],
  71. "web/profiles/custom/{$name}": [
  72. "type:drupal-custom-profile"
  73. ],
  74. "web/themes/custom/{$name}": [
  75. "type:drupal-custom-theme"
  76. ]
  77. },
  78. "merge-plugin": {
  79. "include": [
  80. "web/profiles/d8-starterkit-profile/composer.json"
  81. ],
  82. "recurse": true,
  83. "replace": false,
  84. "merge-extra": true
  85. },
  86. "drupal-core-project-message": {
  87. "include-keys": [
  88. "homepage",
  89. "support"
  90. ],
  91. "post-create-project-cmd-message": [
  92. "<bg=blue;fg=white> </>",
  93. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  94. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  95. "<bg=blue;fg=white> </>",
  96. "",
  97. "<bg=yellow;fg=black>Next steps</>:",
  98. " * Install the site: https://www.drupal.org/docs/8/install",
  99. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  100. " * Get support: https://www.drupal.org/support",
  101. " * Get involved with the Drupal community:",
  102. " https://www.drupal.org/getting-involved",
  103. " * Remove the plugin that prints this message:",
  104. " composer remove drupal/core-project-message"
  105. ]
  106. }
  107. }
  108. }