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.12",
  23. "wikimedia/composer-merge-plugin": "^1.4"
  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. "merge-plugin": {
  69. "include": [
  70. "web/profiles/d8-starterkit-profile/composer.json"
  71. ],
  72. "recurse": true,
  73. "replace": false,
  74. "merge-extra": true
  75. },
  76. "drupal-core-project-message": {
  77. "include-keys": [
  78. "homepage",
  79. "support"
  80. ],
  81. "post-create-project-cmd-message": [
  82. "<bg=blue;fg=white> </>",
  83. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  84. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  85. "<bg=blue;fg=white> </>",
  86. "",
  87. "<bg=yellow;fg=black>Next steps</>:",
  88. " * Install the site: https://www.drupal.org/docs/8/install",
  89. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  90. " * Get support: https://www.drupal.org/support",
  91. " * Get involved with the Drupal community:",
  92. " https://www.drupal.org/getting-involved",
  93. " * Remove the plugin that prints this message:",
  94. " composer remove drupal/core-project-message"
  95. ]
  96. }
  97. }
  98. }