composer.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.6",
  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_formatter": "^1.0@beta",
  16. "drupal/video_embed_field": "^2.0",
  17. "drupal/computed_field": "^2.0@alpha",
  18. "drupal/cshs": "1.x-dev",
  19. "drupal/views_ef_fieldset": "1.x-dev",
  20. "drupal/pagerer": "^1.4",
  21. "d3/d3": "3.5.*",
  22. "components/highlightjs": "9.7.*"
  23. },
  24. "replace": {
  25. "drupal/core": "^8.6"
  26. },
  27. "minimum-stability": "dev",
  28. "prefer-stable": true,
  29. "config": {
  30. "preferred-install": "dist",
  31. "autoloader-suffix": "Drupal8"
  32. },
  33. "extra": {
  34. "_readme": [
  35. "By default Drupal loads the autoloader from ./vendor/autoload.php.",
  36. "To change the autoloader you can edit ./autoload.php.",
  37. "This file specifies the packages.drupal.org repository.",
  38. "You can read more about this composer repository at:",
  39. "https://www.drupal.org/node/2718229"
  40. ],
  41. "merge-plugin": {
  42. "include": [
  43. "core/composer.json",
  44. "profiles/d8-starterkit-profile/composer.json"
  45. ],
  46. "recurse": true,
  47. "replace": false,
  48. "merge-extra": true
  49. },
  50. "installer-paths": {
  51. "core": ["type:drupal-core"],
  52. "modules/contrib/{$name}": ["type:drupal-module"],
  53. "profiles/contrib/{$name}": ["type:drupal-profile"],
  54. "themes/contrib/{$name}": ["type:drupal-theme"],
  55. "drush/contrib/{$name}": ["type:drupal-drush"],
  56. "modules/custom/{$name}": ["type:drupal-custom-module"],
  57. "themes/custom/{$name}": ["type:drupal-custom-theme"],
  58. "libraries/{$name}": ["type:drupal-library"]
  59. }
  60. },
  61. "autoload": {
  62. "psr-4": {
  63. "Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
  64. }
  65. },
  66. "scripts": {
  67. "pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
  68. "post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
  69. "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  70. "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  71. "drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
  72. "drupal-phpunit-upgrade": "@composer update phpunit/phpunit --with-dependencies --no-progress",
  73. "phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
  74. "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
  75. },
  76. "repositories": [
  77. {
  78. "type": "composer",
  79. "url": "https://packages.drupal.org/8"
  80. },
  81. {
  82. "type": "package",
  83. "package": {
  84. "name": "d3/d3",
  85. "version": "v3.5.17",
  86. "type": "drupal-library",
  87. "dist": {
  88. "url": "https://github.com/d3/d3/archive/v3.5.17.zip",
  89. "type": "zip"
  90. }
  91. }
  92. },
  93. {
  94. "type": "package",
  95. "package": {
  96. "name": "components/highlightjs",
  97. "version": "9.7.0",
  98. "type": "drupal-library",
  99. "dist": {
  100. "url": "https://github.com/components/highlightjs/archive/9.7.0.zip",
  101. "type": "zip"
  102. }
  103. }
  104. }
  105. ]
  106. }