Advertisement
Guest User

composer.json drupal 8.4

a guest
Oct 18th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. Index: composer.json
  2. IDEA additional info:
  3. Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
  4. <+>UTF-8
  5. ===================================================================
  6. --- composer.json (revision 82c09eb71244eea9f1f54d33e32d6f5d99f26e91)
  7. +++ composer.json (revision )
  8. @@ -4,11 +4,12 @@
  9. "type": "project",
  10. "license": "GPL-2.0+",
  11. "require": {
  12. - "composer/installers": "^1.0.21",
  13. - "wikimedia/composer-merge-plugin": "~1.3"
  14. + "composer/installers": "^1.0.24",
  15. + "wikimedia/composer-merge-plugin": "^1.4",
  16. + "drupal/core": "^8.4"
  17. },
  18. "replace": {
  19. - "drupal/core": "~8.2"
  20. +
  21. },
  22. "minimum-stability": "dev",
  23. "prefer-stable": true,
  24. @@ -19,7 +20,10 @@
  25. "extra": {
  26. "_readme": [
  27. "By default Drupal loads the autoloader from ./vendor/autoload.php.",
  28. - "To change the autoloader you can edit ./autoload.php."
  29. + "To change the autoloader you can edit ./autoload.php.",
  30. + "This file specifies the packages.drupal.org repository.",
  31. + "You can read more about this composer repository at:",
  32. + "https://www.drupal.org/node/2718229"
  33. ],
  34. "merge-plugin": {
  35. "include": [
  36. @@ -28,6 +32,15 @@
  37. "recurse": false,
  38. "replace": false,
  39. "merge-extra": false
  40. + },
  41. + "installer-paths": {
  42. + "core": ["type:drupal-core"],
  43. + "modules/contrib/{$name}": ["type:drupal-module"],
  44. + "profiles/contrib/{$name}": ["type:drupal-profile"],
  45. + "themes/contrib/{$name}": ["type:drupal-theme"],
  46. + "drush/contrib/{$name}": ["type:drupal-drush"],
  47. + "modules/custom/{$name}": ["type:drupal-custom-module"],
  48. + "themes/custom/{$name}": ["type:drupal-custom-theme"]
  49. }
  50. },
  51. "autoload": {
  52. @@ -37,8 +50,16 @@
  53. },
  54. "scripts": {
  55. "pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
  56. - "post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
  57. + "post-autoload-dump": [
  58. + "Drupal\\Core\\Composer\\Composer::ensureHtaccess"
  59. + ],
  60. "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  61. "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup"
  62. - }
  63. + },
  64. + "repositories": [
  65. + {
  66. + "type": "composer",
  67. + "url": "https://packages.drupal.org/8"
  68. + }
  69. + ]
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement