composer.json 2.9 KB

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