composer.json 3.3 KB

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