81 lines
2.9 KiB
JSON
81 lines
2.9 KiB
JSON
{
|
|
"name": "localgovdrupal/localgov-project",
|
|
"description": "Project template for the LocalGov Drupal distribution.",
|
|
"type": "project",
|
|
"license": "GPL-2.0-or-later",
|
|
"homepage": "https://github.com/localgovdrupal/localgov_project",
|
|
"repositories": {
|
|
"drupal": {
|
|
"type": "composer",
|
|
"url": "https://packages.drupal.org/8"
|
|
}
|
|
},
|
|
"require": {
|
|
"composer/installers": "^1.10",
|
|
"cweagans/composer-patches": "^1.6",
|
|
"drupal/core-composer-scaffold": "^10.0",
|
|
"drupal/core-recommended": "^10.0",
|
|
"localgovdrupal/localgov": "3.x",
|
|
"localgovdrupal/localgov_search_solr": "dev-feature/drupal-10 as 1.1.0-alpha1"
|
|
},
|
|
"require-dev": {
|
|
"brianium/paratest": "^6.0",
|
|
"drupal/coder": "^8.3",
|
|
"drupal/core-dev": "^10.0",
|
|
"mglaman/phpstan-drupal": "^1.0",
|
|
"phpspec/prophecy-phpunit": "^2",
|
|
"phpstan/phpstan": "^1.0",
|
|
"phpstan/phpstan-deprecation-rules": "^1.0",
|
|
"squizlabs/php_codesniffer": "^3.6"
|
|
},
|
|
"conflict": {
|
|
"drupal/drupal": "*"
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"config": {
|
|
"sort-packages": true,
|
|
"bin-dir": "bin/",
|
|
"allow-plugins": {
|
|
"composer/installers": true,
|
|
"cweagans/composer-patches": true,
|
|
"drupal/core-composer-scaffold": true,
|
|
"drupal/core-project-message": true,
|
|
"phpstan/extension-installer": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"php-http/discovery": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"enable-patching": true,
|
|
"drupal-scaffold": {
|
|
"locations": {
|
|
"web-root": "web/"
|
|
},
|
|
"file-mapping": {
|
|
"[web-root]/sites/default/settings.php": {
|
|
"mode": "replace",
|
|
"path": "assets/composer/settings.php",
|
|
"overwrite": false
|
|
},
|
|
"[web-root]/sites/default/settings.lando.php": {
|
|
"mode": "replace",
|
|
"path": "assets/composer/settings.lando.php",
|
|
"overwrite": false
|
|
},
|
|
"[web-root]/sites/development.services.yml": "assets/composer/development.services.yml"
|
|
}
|
|
},
|
|
"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/themes/custom/{$name}": ["type:drupal-custom-theme"]
|
|
}
|
|
|
|
}
|
|
}
|