Valinor/composer.json

60 lines
1.8 KiB
JSON
Raw Normal View History

2021-11-28 17:43:02 +01:00
{
"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",
2022-02-21 17:03:47 +01:00
"license": "MIT",
2021-11-28 17:43:02 +01:00
"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",
2021-11-29 12:33:08 +01:00
"composer-runtime-api": "^2.0",
2021-11-28 17:43:02 +01:00
"psr/simple-cache": "^1.0 || ^2.0",
"doctrine/annotations": "^1.11"
2021-11-28 17:43:02 +01:00
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"infection/infection": "^0.26",
"phpstan/phpstan": "^1.3",
2021-11-28 17:43:02 +01:00
"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"
2021-11-28 17:43:02 +01:00
},
"autoload": {
"psr-4": {
"CuyZ\\Valinor\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CuyZ\\Valinor\\Tests\\": "tests",
"CuyZ\\Valinor\\QA\\": "qa"
2021-11-28 17:43:02 +01:00
}
},
"scripts": {
"check": [
2021-12-15 13:16:38 +01:00
"phpunit",
"php-cs-fixer fix --dry-run",
"phpstan"
2021-11-28 17:43:02 +01:00
],
"fix": [
2021-12-15 13:16:38 +01:00
"php-cs-fixer fix"
2021-11-28 17:43:02 +01:00
],
"mutation": [
"@putenv XDEBUG_MODE=coverage",
2021-12-15 13:16:38 +01:00
"phpunit --coverage-xml='var/cache/phpunit/coverage' --log-junit='var/cache/phpunit/coverage/junit.xml'",
"infection --threads=12 --skip-initial-tests --coverage='var/cache/phpunit/coverage'"
2021-11-28 17:43:02 +01:00
]
}
}