composer.json 3.5 KB

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