Drupal investigation

composer.json 2.3KB

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