147 lines
4.6 KiB
JSON
147 lines
4.6 KiB
JSON
{
|
|
"name": "drupal/recommended-project",
|
|
"description": "Project template for Drupal projects with a relocated document root",
|
|
"type": "project",
|
|
"license": "GPL-2.0-or-later",
|
|
"homepage": "https://www.drupal.org/project/drupal",
|
|
"support": {
|
|
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
|
|
"chat": "https://www.drupal.org/node/314178"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "composer",
|
|
"url": "https://packages.drupal.org/8"
|
|
}
|
|
],
|
|
"require": {
|
|
"composer/installers": "^2.3",
|
|
"cweagans/composer-patches": "^1.7",
|
|
"drupal/auto_entitylabel": "^3.4",
|
|
"drupal/bpmn_io": "^2.0.6",
|
|
"drupal/coffee": "^2",
|
|
"drupal/core": "^10.4 || ^11",
|
|
"drupal/core-composer-scaffold": "^11.1",
|
|
"drupal/core-recipe-unpack": "^11.2",
|
|
"drupal/core-recommended": "^11.1",
|
|
"drupal/dashboard": "^2",
|
|
"drupal/eca": "^2.1.4",
|
|
"drupal/field_group": "^3.6",
|
|
"drupal/focal_point": "^2.1",
|
|
"drupal/gin": "^4.0.6 || ^5",
|
|
"drupal/markdown_easy": "^1.0",
|
|
"drupal/metatag": "^2",
|
|
"drupal/paragraphs": "^1.19",
|
|
"drupal/pathauto": "^1.13",
|
|
"drupal/podcast": "^1.10",
|
|
"drupal/redirect": "^1.11",
|
|
"drupal/rel_to_abs": "^2.2",
|
|
"drupal/robotstxt": "^1.6",
|
|
"drupal/sam": "^1.2",
|
|
"drupal/seo_checklist": "^5.2.1",
|
|
"drupal/simple_sitemap": "^4.2.2",
|
|
"drupal/sitemap": "^2",
|
|
"drupal/tagify": "^1.2",
|
|
"drupal/token_or": "^2.2",
|
|
"drupal/tome": "^1.13",
|
|
"drupal/twig_tweak": "^3.4",
|
|
"drupal/weight": "^3.6",
|
|
"drupal/yoast_seo": "^2.1",
|
|
"drush/drush": "^13.5",
|
|
"mglaman/composer-drupal-lenient": "^1.0"
|
|
},
|
|
"conflict": {
|
|
"drupal/drupal": "*"
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"config": {
|
|
"allow-plugins": {
|
|
"composer/installers": true,
|
|
"cweagans/composer-patches": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"drupal/core-composer-scaffold": true,
|
|
"drupal/core-recipe-unpack": true,
|
|
"mglaman/composer-drupal-lenient": true,
|
|
"php-http/discovery": true,
|
|
"phpstan/extension-installer": true,
|
|
"tbachert/spi": true
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"drupal-scaffold": {
|
|
"locations": {
|
|
"web-root": "web/"
|
|
}
|
|
},
|
|
"installer-paths": {
|
|
"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/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"
|
|
],
|
|
"recipes/{$name}": [
|
|
"type:drupal-recipe"
|
|
]
|
|
},
|
|
"drupal-lenient": {
|
|
"allowed-list": ["drupal/rel_to_abs"]
|
|
},
|
|
"patches": {
|
|
"drupal/rel_to_abs": {
|
|
"Automated Drupal 11 compatibility fixes for rel_to_abs": "https://www.drupal.org/files/issues/2024-03-24/rel_to_abs.2.2.5.rector.patch"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"export": "drush tome:export --yes",
|
|
"import": "drush tome:import",
|
|
"generate": "drush tome:static --uri https://www.oliverdavies.uk",
|
|
"post-install-cmd": [
|
|
"@symlink"
|
|
],
|
|
"post-update-cmd": [
|
|
"@symlink"
|
|
],
|
|
"symlink": "./tools/scripts/symlink.sh",
|
|
"test": [
|
|
"composer validate --strict",
|
|
"phpstan analyze",
|
|
"phpunit --testdox"
|
|
]
|
|
},
|
|
"require-dev": {
|
|
"drupal/core-dev": "^11.1",
|
|
"phpat/phpat": "^0.10.20",
|
|
"phpstan/extension-installer": "^1.4",
|
|
"weitzman/drupal-test-traits": "^2.5"
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tools\\": "tools/"
|
|
}
|
|
}
|
|
}
|