Skip to content

Instantly share code, notes, and snippets.

@slivorezka
Created August 2, 2018 07:58
Show Gist options
  • Save slivorezka/cf3f5558b2f6f0ba1c5d225140bc77bc to your computer and use it in GitHub Desktop.
Save slivorezka/cf3f5558b2f6f0ba1c5d225140bc77bc to your computer and use it in GitHub Desktop.
Drupal 8: composer.json
{
"name": "drupal/drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"type": "project",
"license": "GPL-2.0-or-later",
"require": {
"composer/installers": "^1.0.24",
"wikimedia/composer-merge-plugin": "^1.4",
"cweagans/composer-patches": "^1.6",
"symfony/var-dumper": "3.*",
"drupal/devel": "1.*",
"drupal/admin_toolbar": "1.*",
"drupal/adminimal_admin_toolbar": "1.*",
"drupal/better_exposed_filters": "3.*",
"drupal/config_update": "1.*",
"drupal/ctools": "3.*",
"drupal/backup_migrate": "4.*",
"drupal/entityqueue": "1.*",
"drupal/ultimate_cron": "2.*",
"drupal/features": "3.*",
"drupal/form_options_attributes": "1.*",
"drupal/queue_ui": "2.*",
"drupal/adminimal_theme": "1.*",
"drupal/field_group": "1.*",
"drupal/pathauto": "1.*",
"drupal/token": "1.*",
"drupal/token_filter": "1.*",
"drupal/views_infinite_scroll": "1.*",
"drupal/console": "1.*",
"drupal/module_filter": "3.*",
"drupal/webform": "^5.0@RC",
"drupal/crop": "^1.5",
"drupal/focal_point": "^1.0@beta",
"drupal/field_permissions": "^1.0@beta",
"drupal/permissions_filter": "^1.0",
"drupal/google_analytics": "^2.2",
"drupal/metatag": "^1.4",
"drupal/redirect": "^1.0",
"drupal/robotstxt": "^1.1",
"drupal/yoast_seo": "^1.3",
"drupal/seo_checklist": "^4.1",
"drupal/google_image_sitemap": "^1.0",
"drupal/file_browser": "^1.1",
"drupal/entity_browser": "^1.5",
"drupal/video": "^1.2",
"drupal/simple_sitemap": "^2.11",
"drupal/hreflang": "^1.0",
"drupal/google_tag": "^1.0",
"drupal/coffee": "1.x-dev",
"drupal/rdfui": "1.x-dev",
"drupal/scheduled_updates": "^1.0",
"drupal/media_upload": "^1.7",
"drupal/media_entity": "^1.7",
"enyo/dropzone": "^5.1",
"drupal/ckeditor_entity_link": "^1.0@alpha",
"drupal/editor_advanced_link": "^1.4",
"drupal/editor_file": "^1.2",
"drupal/rebuild_cache_access": "^1.4",
"d3/d3": "3.5.17",
"components/highlightjs": "^9.12",
"drupal/menu_item_extras": "^2.2",
"drupal/flag": "^4.0@alpha",
"drupal/message": "^1.0@RC",
"drupal/login_tracker": "^1.2",
"drupal/basic": "^2.0",
"drupal/purge": "^3.0@beta",
"drupal/varnish_purge": "^1.11"
},
"replace": {
"drupal/core": "^8.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"preferred-install": "dist",
"autoloader-suffix": "Drupal8"
},
"extra": {
"_readme": [
"By default Drupal loads the autoloader from ./vendor/autoload.php.",
"To change the autoloader you can edit ./autoload.php.",
"This file specifies the packages.drupal.org repository.",
"You can read more about this composer repository at:",
"https://www.drupal.org/node/2718229"
],
"merge-plugin": {
"include": [
"core/composer.json"
],
"recurse": true,
"replace": false,
"merge-extra": false
},
"installer-paths": {
"core": ["type:drupal-core"],
"modules/contrib/{$name}": ["type:drupal-module"],
"profiles/contrib/{$name}": ["type:drupal-profile"],
"themes/contrib/{$name}": ["type:drupal-theme"],
"drush/contrib/{$name}": ["type:drupal-drush"],
"modules/custom/{$name}": ["type:drupal-custom-module"],
"themes/custom/{$name}": ["type:drupal-custom-theme"],
"libraries/{$name}": ["type:drupal-library"]
}
},
"autoload": {
"psr-4": {
"Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
}
},
"scripts": {
"pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
"post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
"post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
"drupal-phpunit-upgrade": "@composer update phpunit/phpunit --with-dependencies --no-progress",
"phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
"phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
},
{
"type": "package",
"package": {
"name": "enyo/dropzone",
"version": "5.1.1",
"type": "drupal-library",
"dist": {
"url": "https://github.com/enyo/dropzone/archive/v5.1.1.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "d3/d3",
"version": "3.5.17",
"type": "drupal-library",
"dist": {
"url": "https://github.com/d3/d3/archive/v3.5.17.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "components/highlightjs",
"version": "9.12.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/components/highlightjs/archive/9.12.0.zip",
"type": "zip"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment