composer.json 3.3 KB

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