composer.json 3.4 KB

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