composer.json 3.4 KB

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