composer.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "drupal-composer/drupal-project",
  3. "description": "Project template for Drupal 8 projects with composer",
  4. "type": "project",
  5. "license": "GPL-2.0-or-later",
  6. "authors": [
  7. {
  8. "name": "",
  9. "role": ""
  10. }
  11. ],
  12. "repositories": [
  13. {
  14. "type": "composer",
  15. "url": "https://packages.drupal.org/8"
  16. }
  17. ],
  18. "require": {
  19. "php": ">=5.6",
  20. "composer/installers": "^1.2",
  21. "cweagans/composer-patches": "^1.6.5",
  22. "drupal-composer/drupal-scaffold": "^2.5",
  23. "drupal/amswap": "^2.0",
  24. "drupal/computed_field": "^2.0@beta",
  25. "drupal/config_split": "^1.4",
  26. "drupal/console": "^1.0.2",
  27. "drupal/core": "^8.6.0",
  28. "drupal/entity_clone": "^1.0",
  29. "drupal/mailgun": "1.x-dev",
  30. "drupal/mailsystem": "^4.1",
  31. "drupal/migrate_plus": "4.x-dev",
  32. "drupal/migrate_tools": "4.x-dev",
  33. "drupal/mimemail": "1.x-dev",
  34. "drupal/select_translation": "1.x-dev",
  35. "drupal/simplenews": "1.x-dev",
  36. "drupal/telephone_formatter": "^1.0@beta",
  37. "drupal/telephone_validation": "^2.1",
  38. "drupal/views_conditional": "1.x-dev",
  39. "drush/drush": "^9.0.0",
  40. "vlucas/phpdotenv": "^2.4",
  41. "webflo/drupal-finder": "^1.0.0",
  42. "webmozart/path-util": "^2.3",
  43. "wikimedia/composer-merge-plugin": "^1.4",
  44. "zaporylie/composer-drupal-optimizations": "^1.0"
  45. },
  46. "require-dev": {
  47. "webflo/drupal-core-require-dev": "^8.6.0"
  48. },
  49. "conflict": {
  50. "drupal/drupal": "*"
  51. },
  52. "minimum-stability": "dev",
  53. "prefer-stable": true,
  54. "config": {
  55. "sort-packages": true
  56. },
  57. "autoload": {
  58. "classmap": [
  59. "scripts/composer/ScriptHandler.php"
  60. ],
  61. "files": ["load.environment.php"]
  62. },
  63. "scripts": {
  64. "pre-install-cmd": [
  65. "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
  66. ],
  67. "pre-update-cmd": [
  68. "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
  69. ],
  70. "post-install-cmd": [
  71. "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
  72. ],
  73. "post-update-cmd": [
  74. "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
  75. ]
  76. },
  77. "extra": {
  78. "composer-exit-on-patch-failure": true,
  79. "patchLevel": {
  80. "drupal/core": "-p2"
  81. },
  82. "merge-plugin": {
  83. "include": [
  84. "web/profiles/d8-starterkit-profile/composer.json"
  85. ],
  86. "recurse": true,
  87. "replace": false,
  88. "merge-extra": true
  89. },
  90. "installer-paths": {
  91. "web/core": ["type:drupal-core"],
  92. "web/libraries/{$name}": ["type:drupal-library"],
  93. "web/modules/contrib/{$name}": ["type:drupal-module"],
  94. "web/profiles/contrib/{$name}": ["type:drupal-profile"],
  95. "web/themes/contrib/{$name}": ["type:drupal-theme"],
  96. "drush/Commands/{$name}": ["type:drupal-drush"]
  97. },
  98. "patches": {
  99. "drupal/core": {
  100. "migrate_drupal getsetting on null" : "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch"
  101. },
  102. "drupal/migrate_tools": {
  103. "The --limit option does not accept a value.": "https://www.drupal.org/files/issues/2019-02-05/migrate-tools_fix-drush-options_3024399-23.patch"
  104. }
  105. },
  106. "drupal-scaffold": {
  107. "initial": {
  108. ".editorconfig": "../.editorconfig",
  109. ".gitattributes": "../.gitattributes"
  110. }
  111. }
  112. }
  113. }