Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.77 KB | None | 0 0
  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.0.24",
  8.         "wikimedia/composer-merge-plugin": "^1.4"
  9.     },
  10.     "replace": {
  11.         "drupal/core": "^8.6"
  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": true,
  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": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
  53.         "post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  54.         "post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
  55.         "drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
  56.         "drupal-phpunit-upgrade": "@composer update phpunit/phpunit phpspec/prophecy symfony/yaml --with-dependencies --no-progress",
  57.         "phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
  58.         "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
  59.     },
  60.     "repositories": [
  61.         {
  62.             "type": "composer",
  63.             "url": "https://packages.drupal.org/8"
  64.         }
  65.     ]
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement