composer.json 3.1 KB

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