composer.json 3.6 KB

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