composer.json 3.3 KB

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