composer.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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/migrate_plus": "4.x-dev",
  30. "drupal/migrate_tools": "4.x-dev",
  31. "drupal/select_translation": "1.x-dev",
  32. "drupal/telephone_formatter": "^1.0@beta",
  33. "drupal/telephone_validation": "^2.1",
  34. "drupal/views_conditional": "1.x-dev",
  35. "drush/drush": "^9.0.0",
  36. "vlucas/phpdotenv": "^2.4",
  37. "webflo/drupal-finder": "^1.0.0",
  38. "webmozart/path-util": "^2.3",
  39. "wikimedia/composer-merge-plugin": "^1.4",
  40. "zaporylie/composer-drupal-optimizations": "^1.0"
  41. },
  42. "require-dev": {
  43. "webflo/drupal-core-require-dev": "^8.6.0"
  44. },
  45. "conflict": {
  46. "drupal/drupal": "*"
  47. },
  48. "minimum-stability": "dev",
  49. "prefer-stable": true,
  50. "config": {
  51. "sort-packages": true
  52. },
  53. "autoload": {
  54. "classmap": [
  55. "scripts/composer/ScriptHandler.php"
  56. ],
  57. "files": ["load.environment.php"]
  58. },
  59. "scripts": {
  60. "pre-install-cmd": [
  61. "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
  62. ],
  63. "pre-update-cmd": [
  64. "DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
  65. ],
  66. "post-install-cmd": [
  67. "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
  68. ],
  69. "post-update-cmd": [
  70. "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
  71. ]
  72. },
  73. "extra": {
  74. "composer-exit-on-patch-failure": true,
  75. "patchLevel": {
  76. "drupal/core": "-p2"
  77. },
  78. "merge-plugin": {
  79. "include": [
  80. "web/profiles/d8-starterkit-profile/composer.json"
  81. ],
  82. "recurse": true,
  83. "replace": false,
  84. "merge-extra": true
  85. },
  86. "installer-paths": {
  87. "web/core": ["type:drupal-core"],
  88. "web/libraries/{$name}": ["type:drupal-library"],
  89. "web/modules/contrib/{$name}": ["type:drupal-module"],
  90. "web/profiles/contrib/{$name}": ["type:drupal-profile"],
  91. "web/themes/contrib/{$name}": ["type:drupal-theme"],
  92. "drush/Commands/{$name}": ["type:drupal-drush"]
  93. },
  94. "patches": {
  95. "drupal/migrate_tools": {
  96. "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"
  97. }
  98. },
  99. "drupal-scaffold": {
  100. "initial": {
  101. ".editorconfig": "../.editorconfig",
  102. ".gitattributes": "../.gitattributes"
  103. }
  104. }
  105. }
  106. }