composer.json 4.1 KB

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