composer.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. "drupal/video_embed_field": "^2.0",
  18. "drupal/computed_field": "^2.0@alpha",
  19. "drupal/cshs": "1.x-dev"
  20. },
  21. "replace": {
  22. "drupal/core": "^8.6"
  23. },
  24. "minimum-stability": "dev",
  25. "prefer-stable": true,
  26. "config": {
  27. "preferred-install": "dist",
  28. "autoloader-suffix": "Drupal8"
  29. },
  30. "extra": {
  31. "_readme": [
  32. "By default Drupal loads the autoloader from ./vendor/autoload.php.",
  33. "To change the autoloader you can edit ./autoload.php.",
  34. "This file specifies the packages.drupal.org repository.",
  35. "You can read more about this composer repository at:",
  36. "https://www.drupal.org/node/2718229"
  37. ],
  38. "merge-plugin": {
  39. "include": [
  40. "core/composer.json",
  41. "profiles/d8-starterkit-profile/composer.json"
  42. ],
  43. "recurse": true,
  44. "replace": false,
  45. "merge-extra": true
  46. },
  47. "installer-paths": {
  48. "core": ["type:drupal-core"],
  49. "modules/contrib/{$name}": ["type:drupal-module"],
  50. "profiles/contrib/{$name}": ["type:drupal-profile"],
  51. "themes/contrib/{$name}": ["type:drupal-theme"],
  52. "drush/contrib/{$name}": ["type:drupal-drush"],
  53. "modules/custom/{$name}": ["type:drupal-custom-module"],
  54. "themes/custom/{$name}": ["type:drupal-custom-theme"]
  55. }
  56. },
  57. "autoload": {
  58. "psr-4": {
  59. "Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
  60. }
  61. },
  62. "scripts": {
  63. "pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
  64. "post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
  65. "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  66. "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  67. "drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
  68. "drupal-phpunit-upgrade": "@composer update phpunit/phpunit --with-dependencies --no-progress",
  69. "phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
  70. "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
  71. },
  72. "repositories": [
  73. {
  74. "type": "composer",
  75. "url": "https://packages.drupal.org/8"
  76. }
  77. ]
  78. }