BIG REFACTORING using composer create-project drupal-composer/drupal-project
This commit is contained in:
152
composer.json
152
composer.json
@@ -1,106 +1,96 @@
|
||||
{
|
||||
"name": "drupal/drupal",
|
||||
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
|
||||
"name": "drupal-composer/drupal-project",
|
||||
"description": "Project template for Drupal 8 projects with composer",
|
||||
"type": "project",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"authors": [
|
||||
{
|
||||
"name": "",
|
||||
"role": ""
|
||||
}
|
||||
],
|
||||
"repositories": [
|
||||
{
|
||||
"type": "composer",
|
||||
"url": "https://packages.drupal.org/8"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"composer/installers": "^1.6",
|
||||
"wikimedia/composer-merge-plugin": "^1.4",
|
||||
"drupal/migrate_plus": "^4.0",
|
||||
"php": ">=5.6",
|
||||
"composer/installers": "^1.2",
|
||||
"cweagans/composer-patches": "^1.6.5",
|
||||
"drupal-composer/drupal-scaffold": "^2.5",
|
||||
"drupal/computed_field": "^2.0@beta",
|
||||
"drupal/console": "^1.0.2",
|
||||
"drupal/core": "^8.6.0",
|
||||
"drupal/migrate_plus": "4.x-dev",
|
||||
"drupal/migrate_tools": "4.x-dev",
|
||||
"drupal/config_devel": "^1.2",
|
||||
"drupal/examples": "1.x-dev",
|
||||
"drupal/synonyms": "1.x-dev",
|
||||
"drupal/address": "^1.4",
|
||||
"drupal/telephone_formatter": "^1.0@beta",
|
||||
"drupal/video_embed_field": "^2.0",
|
||||
"drupal/computed_field": "^2.0@alpha",
|
||||
"drupal/cshs": "1.x-dev",
|
||||
"drupal/views_ef_fieldset": "1.x-dev",
|
||||
"drupal/pagerer": "^1.4",
|
||||
"d3/d3": "3.5.*",
|
||||
"components/highlightjs": "9.7.*"
|
||||
"drupal/telephone_validation": "^2.1",
|
||||
"drush/drush": "^9.0.0",
|
||||
"vlucas/phpdotenv": "^2.4",
|
||||
"webflo/drupal-finder": "^1.0.0",
|
||||
"webmozart/path-util": "^2.3",
|
||||
"wikimedia/composer-merge-plugin": "^1.4",
|
||||
"zaporylie/composer-drupal-optimizations": "^1.0"
|
||||
},
|
||||
"replace": {
|
||||
"drupal/core": "^8.6"
|
||||
"require-dev": {
|
||||
"webflo/drupal-core-require-dev": "^8.6.0"
|
||||
},
|
||||
"conflict": {
|
||||
"drupal/drupal": "*"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"autoloader-suffix": "Drupal8"
|
||||
"sort-packages": true
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"scripts/composer/ScriptHandler.php"
|
||||
],
|
||||
"files": ["load.environment.php"]
|
||||
},
|
||||
"scripts": {
|
||||
"pre-install-cmd": [
|
||||
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
|
||||
],
|
||||
"pre-update-cmd": [
|
||||
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
|
||||
],
|
||||
"post-install-cmd": [
|
||||
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
|
||||
]
|
||||
},
|
||||
"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"
|
||||
],
|
||||
"composer-exit-on-patch-failure": true,
|
||||
"patchLevel": {
|
||||
"drupal/core": "-p2"
|
||||
},
|
||||
"merge-plugin": {
|
||||
"include": [
|
||||
"core/composer.json",
|
||||
"profiles/d8-starterkit-profile/composer.json"
|
||||
"web/profiles/d8-starterkit-profile/composer.json"
|
||||
],
|
||||
"recurse": true,
|
||||
"replace": false,
|
||||
"merge-extra": true
|
||||
},
|
||||
"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"
|
||||
"web/core": ["type:drupal-core"],
|
||||
"web/libraries/{$name}": ["type:drupal-library"],
|
||||
"web/modules/contrib/{$name}": ["type:drupal-module"],
|
||||
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
|
||||
"web/themes/contrib/{$name}": ["type:drupal-theme"],
|
||||
"drush/Commands/{$name}": ["type:drupal-drush"]
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "d3/d3",
|
||||
"version": "v3.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.7.0",
|
||||
"type": "drupal-library",
|
||||
"dist": {
|
||||
"url": "https://github.com/components/highlightjs/archive/9.7.0.zip",
|
||||
"type": "zip"
|
||||
}
|
||||
"drupal-scaffold": {
|
||||
"initial": {
|
||||
".editorconfig": "../.editorconfig",
|
||||
".gitattributes": "../.gitattributes"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user