composer.json 3.4 KB

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