composer.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "drupal/drupal",
  3. "description": "Drupal is an open source content management platform powering millions of websites and applications.",
  4. "type": "project",
  5. "license": "GPL-2.0-or-later",
  6. "require": {
  7. "composer/installers": "^1.0.24",
  8. "wikimedia/composer-merge-plugin": "^1.4",
  9. "drupal/migrate_plus": "^4.0",
  10. "drupal/migrate_tools": "^4.0",
  11. "drupal/config_devel": "^1.2",
  12. "drupal/examples": "1.x-dev",
  13. "drupal/synonyms": "1.x-dev",
  14. "drupal/address": "^1.4",
  15. "drupal/telephone_validation": "^2.1",
  16. "drupal/telephone_formatter": "^1.0@beta"
  17. },
  18. "replace": {
  19. "drupal/core": "^8.6"
  20. },
  21. "minimum-stability": "dev",
  22. "prefer-stable": true,
  23. "config": {
  24. "preferred-install": "dist",
  25. "autoloader-suffix": "Drupal8"
  26. },
  27. "extra": {
  28. "_readme": [
  29. "By default Drupal loads the autoloader from ./vendor/autoload.php.",
  30. "To change the autoloader you can edit ./autoload.php.",
  31. "This file specifies the packages.drupal.org repository.",
  32. "You can read more about this composer repository at:",
  33. "https://www.drupal.org/node/2718229"
  34. ],
  35. "merge-plugin": {
  36. "include": [
  37. "core/composer.json",
  38. "profiles/d8-starterkit-profile/composer.json"
  39. ],
  40. "recurse": true,
  41. "replace": false,
  42. "merge-extra": true
  43. },
  44. "installer-paths": {
  45. "core": ["type:drupal-core"],
  46. "modules/contrib/{$name}": ["type:drupal-module"],
  47. "profiles/contrib/{$name}": ["type:drupal-profile"],
  48. "themes/contrib/{$name}": ["type:drupal-theme"],
  49. "drush/contrib/{$name}": ["type:drupal-drush"],
  50. "modules/custom/{$name}": ["type:drupal-custom-module"],
  51. "themes/custom/{$name}": ["type:drupal-custom-theme"]
  52. }
  53. },
  54. "autoload": {
  55. "psr-4": {
  56. "Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
  57. }
  58. },
  59. "scripts": {
  60. "pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
  61. "post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
  62. "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  63. "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  64. "drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
  65. "drupal-phpunit-upgrade": "@composer update phpunit/phpunit --with-dependencies --no-progress",
  66. "phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
  67. "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
  68. },
  69. "repositories": [
  70. {
  71. "type": "composer",
  72. "url": "https://packages.drupal.org/8"
  73. }
  74. ]
  75. }