package-template/composer.json
2024-07-25 22:10:23 +03:00

51 lines
1.2 KiB
JSON

{
"name": "chicory/package-template",
"description": "Composer package template",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Chicory\\PackageTemplate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Chicory\\Tests\\PackageTemplate\\": "tests/"
}
},
"authors": [
{
"name": "Chicory",
"email": "chicory@fossee.net"
}
],
"minimum-stability": "stable",
"require": {
"php": "8.*"
},
"require-dev": {
"phpunit/phpunit": "11.*",
"phpstan/phpstan": "1.*",
"friendsofphp/php-cs-fixer": "^3.60"
},
"scripts": {
"code-style-check": [
"./vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --using-cache=no"
],
"code-style-fix": [
"./vendor/bin/php-cs-fixer fix -v --using-cache=no"
],
"analyze-code": [
"./vendor/bin/phpstan"
],
"run-unit-tests": [
"./vendor/bin/phpunit"
],
"full-test": [
"@code-style-check",
"@analyze-code",
"@run-unit-tests"
]
}
}