Drupal investigation

composer.json 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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+",
  6. "require": {
  7. "composer/installers": "^1.0.24",
  8. "wikimedia/composer-merge-plugin": "~1.3"
  9. },
  10. "replace": {
  11. "drupal/core": "~8.3"
  12. },
  13. "minimum-stability": "dev",
  14. "prefer-stable": true,
  15. "config": {
  16. "preferred-install": "dist",
  17. "autoloader-suffix": "Drupal8"
  18. },
  19. "extra": {
  20. "_readme": [
  21. "By default Drupal loads the autoloader from ./vendor/autoload.php.",
  22. "To change the autoloader you can edit ./autoload.php.",
  23. "This file specifies the packages.drupal.org repository.",
  24. "You can read more about this composer repository at:",
  25. "https://www.drupal.org/node/2718229"
  26. ],
  27. "merge-plugin": {
  28. "include": [
  29. "core/composer.json"
  30. ],
  31. "recurse": false,
  32. "replace": false,
  33. "merge-extra": false
  34. },
  35. "installer-paths": {
  36. "core": ["type:drupal-core"],
  37. "modules/contrib/{$name}": ["type:drupal-module"],
  38. "profiles/contrib/{$name}": ["type:drupal-profile"],
  39. "themes/contrib/{$name}": ["type:drupal-theme"],
  40. "drush/contrib/{$name}": ["type:drupal-drush"],
  41. "modules/custom/{$name}": ["type:drupal-custom-module"],
  42. "themes/custom/{$name}": ["type:drupal-custom-theme"]
  43. }
  44. },
  45. "autoload": {
  46. "psr-4": {
  47. "Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
  48. }
  49. },
  50. "scripts": {
  51. "pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
  52. "post-autoload-dump": [
  53. "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
  54. "Drupal\\Core\\Composer\\Composer::configurePhpcs"
  55. ],
  56. "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  57. "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup"
  58. },
  59. "repositories": [
  60. {
  61. "type": "composer",
  62. "url": "https://packages.drupal.org/8"
  63. }
  64. ]
  65. }