forked from audrey/drupal10
130 lines
3.7 KiB
JSON
130 lines
3.7 KiB
JSON
{
|
|
"name": "drupal-composer/drupal-project",
|
|
"description": "Project template for Drupal 10 projects with Composer",
|
|
"license": "GPL-2.0-or-later",
|
|
"type": "project",
|
|
"authors": [
|
|
{
|
|
"name": "",
|
|
"role": ""
|
|
}
|
|
],
|
|
"require": {
|
|
"composer/installers": "^2.1",
|
|
"cweagans/composer-patches": "^1.7",
|
|
"drupal/core-composer-scaffold": "^10.2.0",
|
|
"drupal/core-recommended": "^10.2.0",
|
|
"drush/drush": "^12.4.3",
|
|
"oomphinc/composer-installers-extender": "^2.0",
|
|
"vlucas/phpdotenv": "^5.1",
|
|
"webflo/drupal-finder": "^1.3"
|
|
},
|
|
"require-dev": {
|
|
"drupal/core-dev": "^10.2.0",
|
|
"ergebnis/composer-normalize": "^2.42"
|
|
},
|
|
"conflict": {
|
|
"drupal/drupal": "*"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "composer",
|
|
"url": "https://packages.drupal.org/8"
|
|
},
|
|
{
|
|
"type": "composer",
|
|
"url": "https://asset-packagist.org"
|
|
}
|
|
],
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"autoload": {
|
|
"classmap": [
|
|
"scripts/composer/ScriptHandler.php"
|
|
],
|
|
"files": [
|
|
"load.environment.php"
|
|
]
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"composer/installers": true,
|
|
"cweagans/composer-patches": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"drupal/core-composer-scaffold": true,
|
|
"ergebnis/composer-normalize": true,
|
|
"oomphinc/composer-installers-extender": true,
|
|
"php-http/discovery": true,
|
|
"phpstan/extension-installer": true
|
|
},
|
|
"discard-changes": true,
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"composer-exit-on-patch-failure": true,
|
|
"drupal-scaffold": {
|
|
"file-mapping": {
|
|
"[project-root]/.gitignore": false,
|
|
"[web-root]/INSTALL.txt": false,
|
|
"[web-root]/README.txt": false
|
|
},
|
|
"locations": {
|
|
"web-root": "web/"
|
|
}
|
|
},
|
|
"installer-paths": {
|
|
"web/core": [
|
|
"type:drupal-core"
|
|
],
|
|
"web/libraries/{$name}": [
|
|
"type:drupal-library",
|
|
"type:bower-asset",
|
|
"type:npm-asset"
|
|
],
|
|
"web/modules/contrib/{$name}": [
|
|
"type:drupal-module"
|
|
],
|
|
"web/profiles/contrib/{$name}": [
|
|
"type:drupal-profile"
|
|
],
|
|
"web/themes/contrib/{$name}": [
|
|
"type:drupal-theme"
|
|
],
|
|
"drush/Commands/contrib/{$name}": [
|
|
"type:drupal-drush"
|
|
],
|
|
"web/modules/custom/{$name}": [
|
|
"type:drupal-custom-module"
|
|
],
|
|
"web/profiles/custom/{$name}": [
|
|
"type:drupal-custom-profile"
|
|
],
|
|
"web/themes/custom/{$name}": [
|
|
"type:drupal-custom-theme"
|
|
]
|
|
},
|
|
"installer-types": [
|
|
"bower-asset",
|
|
"npm-asset"
|
|
],
|
|
"patchLevel": {
|
|
"drupal/core": "-p2"
|
|
},
|
|
"patches": {}
|
|
},
|
|
"scripts": {
|
|
"pre-install-cmd": [
|
|
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
|
|
],
|
|
"post-install-cmd": [
|
|
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
|
|
],
|
|
"pre-update-cmd": [
|
|
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
|
|
],
|
|
"post-update-cmd": [
|
|
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
|
|
]
|
|
}
|
|
}
|