51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
|
{
|
||
|
"name": "grasmash/expander",
|
||
|
"description": "Expands internal property references in PHP arrays file.",
|
||
|
"type": "library",
|
||
|
"require": {
|
||
|
"php": ">=5.4",
|
||
|
"dflydev/dot-access-data": "^1.1.0"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"authors": [
|
||
|
{
|
||
|
"name": "Matthew Grasmick"
|
||
|
}
|
||
|
],
|
||
|
"minimum-stability": "stable",
|
||
|
"autoload": {
|
||
|
"psr-4": {
|
||
|
"Grasmash\\Expander\\": "src/"
|
||
|
}
|
||
|
},
|
||
|
"require-dev": {
|
||
|
"phpunit/phpunit": "^4|^5.5.4",
|
||
|
"satooshi/php-coveralls": "^1.0.2|dev-master",
|
||
|
"greg-1-anderson/composer-test-scenarios": "^1",
|
||
|
"squizlabs/php_codesniffer": "^2.7"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"cs": "phpcs -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
|
||
|
"cbf": "phpcbf -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
|
||
|
"unit": "phpunit",
|
||
|
"lint": [
|
||
|
"find src -name '*.php' -print0 | xargs -0 -n1 php -l",
|
||
|
"find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
|
||
|
],
|
||
|
"test": [
|
||
|
"@lint",
|
||
|
"@unit",
|
||
|
"@cs"
|
||
|
]
|
||
|
},
|
||
|
"config": {
|
||
|
"optimize-autoloader": true,
|
||
|
"sort-packages": true
|
||
|
},
|
||
|
"extra": {
|
||
|
"branch-alias": {
|
||
|
"dev-master": "1.x-dev"
|
||
|
}
|
||
|
}
|
||
|
}
|