53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "webflo/drupal-finder",
|
|
"description": "Helper class to locate a Drupal installation.",
|
|
"license": "GPL-2.0-or-later",
|
|
"type": "library",
|
|
"authors": [
|
|
{
|
|
"name": "Florian Weber",
|
|
"email": "florian@webflo.org"
|
|
}
|
|
],
|
|
"require": {
|
|
"composer-runtime-api": "^2.2",
|
|
"php": ">=8.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"DrupalFinder\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"DrupalFinder\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^10.4",
|
|
"mikey179/vfsstream": "^1.6",
|
|
"symfony/process": "^6.4"
|
|
},
|
|
"config": {
|
|
"platform": {
|
|
"php": "8.1"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"install-fixtures": [
|
|
"cd tests/fixtures/custom-vendor && composer install",
|
|
"cd tests/fixtures/default && composer install"
|
|
],
|
|
"uninstall-fixtures": [
|
|
"rm -rf tests/fixtures/*/composer.lock",
|
|
"rm -rf tests/fixtures/custom-vendor/foo",
|
|
"rm -rf tests/fixtures/default/web",
|
|
"rm -rf tests/fixtures/default/vendor"
|
|
],
|
|
"reinstall-fixtures": [
|
|
"@uninstall-fixtures",
|
|
"@install-fixtures"
|
|
]
|
|
}
|
|
}
|