forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"name": "consolidation/config",
|
|
"description": "Provide configuration services for a commandline tool.",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Greg Anderson",
|
|
"email": "greg.1.anderson@greenknowe.org"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Consolidation\\Config\\": "src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Consolidation\\Config\\Tests\\": "tests/src"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": ">=7.1.3",
|
|
"dflydev/dot-access-data": "^1.1.0 || ^2 || ^3",
|
|
"grasmash/expander": "^2.0.1 || ^3",
|
|
"symfony/event-dispatcher": "^4 || ^5 || ^6"
|
|
},
|
|
"require-dev": {
|
|
"ext-json": "*",
|
|
"phpunit/phpunit": ">=7.5.20",
|
|
"squizlabs/php_codesniffer": "^3",
|
|
"symfony/console": "^4 || ^5 || ^6",
|
|
"symfony/yaml": "^4 || ^5 || ^6",
|
|
"yoast/phpunit-polyfills": "^1"
|
|
},
|
|
"suggest": {
|
|
"symfony/event-dispatcher": "Required to inject configuration into Command options",
|
|
"symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "7.4.9"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"cs": "phpcs --standard=PSR2 -n src",
|
|
"cbf": "phpcbf --standard=PSR2 -n src",
|
|
"unit": "phpunit --testsuite=unit --colors=always",
|
|
"lint": [
|
|
"find src -name '*.php' -print0 | xargs -0 -n1 php -l",
|
|
"find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
|
|
],
|
|
"test": [
|
|
"@lint",
|
|
"@unit",
|
|
"@cs"
|
|
]
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-main": "2.x-dev"
|
|
}
|
|
}
|
|
}
|