composer.json
{
"name": "schnittstabil/composer-extra",
"type": "library",
"description": "Get namespaced configuration from composer.json `extra`",
"license": "MIT",
"keywords": ["composer.json", "composer", "extra", "configuration"],
"authors": [
{
"name": "Michael Mayer",
"email": "michael@schnittstabil.de"
}
],
"autoload": {
"psr-4": { "Schnittstabil\\ComposerExtra\\": "src" }
},
"autoload-dev": {
"psr-4": { "Schnittstabil\\ComposerExtra\\": "tests" }
},
"require": {
"php": ">=5.6.0",
"schnittstabil/get": "^2.0 || ^3.0",
"schnittstabil/config_merge": "^2.0",
"schnittstabil/json-decode-file": "^2.0"
},
"require-dev": {
"schnittstabil/phpunit-starter": "^6.0 || ^7.0"
},
"extra": {
"schnittstabil/composer-extra": {
"unicorns": 42,
"composerJson": true
},
"disable presets": {
"presets": false,
"unicorns": 42,
"composerJson": true
},
"empty presets": {
"unicorns": 42,
"composerJson": true
},
"multiple presets": {
"unicorns": 42,
"composerJson": true
},
"override presets": {
"presets": [
"Schnittstabil\\ComposerExtra\\Presets\\SecondPreset::get"
],
"unicorns": 42,
"composerJson": true
}
},
"scripts": {
"clean": "rm -rf build/",
"doc": [
"sugared-rim-sami",
"phpmetrics --report-html build/phpmetrics/metrics.html src/"
],
"lint": [
"sugared-rim-cs"
],
"test": [
"schnittstabil-phpunit-starter",
"composer lint"
],
"travis": "schnittstabil-phpunit-starter"
}
}