Valinor/composer.json
2022-10-19 13:44:19 +02:00

77 lines
2.2 KiB
JSON

{
"name": "cuyz/valinor",
"type": "library",
"description": "Library that helps to map any input into a strongly-typed value object structure.",
"keywords": [
"object", "tree", "mapper", "mapping", "hydrator", "array", "conversion", "json", "yaml"
],
"homepage": "https://github.com/CuyZ/Valinor",
"license": "MIT",
"authors": [
{
"name": "Romain Canon",
"email": "romain.hydrocanon@gmail.com",
"homepage": "https://github.com/romm"
}
],
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0",
"composer-runtime-api": "^2.0",
"psr/simple-cache": "^1.0 || ^2.0",
"doctrine/annotations": "^1.11"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"infection/infection": "^0.26",
"phpstan/phpstan": "^1.3",
"phpstan/phpstan-strict-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"friendsofphp/php-cs-fixer": "^3.4",
"marcocesarato/php-conventional-changelog": "^1.12",
"vimeo/psalm": "^4.18.1",
"mikey179/vfsstream": "^1.6.10",
"rector/rector": "^0.12.23"
},
"autoload": {
"psr-4": {
"CuyZ\\Valinor\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CuyZ\\Valinor\\Tests\\": "tests",
"CuyZ\\Valinor\\QA\\": "qa"
}
},
"scripts": {
"check": [
"@putenv XDEBUG_MODE=off",
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"phpunit",
"phpstan",
"psalm",
"php-cs-fixer fix --dry-run",
"rector --dry-run"
],
"fix": [
"@putenv XDEBUG_MODE=off",
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix",
"rector"
],
"mutation": [
"infection --threads=12 --git-diff-lines"
],
"doc": [
"Composer\\Config::disableProcessTimeout",
"pip install -r docs/requirements.txt",
"mkdocs serve --config-file docs/mkdocs.yml"
]
},
"config": {
"allow-plugins": {
"infection/extension-installer": false
}
}
}