mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 06:21:29 +00:00
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "emilybache/gilded-rose-refactoring-kata",
|
|
"description": "A kata to practice refactoring, tests and polymorphism",
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": "^8.0"
|
|
},
|
|
"require-dev": {
|
|
"approvals/approval-tests": "dev-Main",
|
|
"behat/behat": "^3.14",
|
|
"phpunit/phpunit": "^9.5",
|
|
"phpstan/phpstan": "^1.9",
|
|
"phpstan/phpstan-phpunit": "^1.3",
|
|
"symplify/easy-coding-standard": "^11.1",
|
|
"symplify/phpstan-extensions": "^11.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"GildedRose\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/approval/",
|
|
"PhpUnitTests\\": "tests/phpunit/",
|
|
"BehatTests\\": "tests/behat/contexts/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"tests": "./vendor/bin/phpunit --testsuite UnitTests; ./vendor/bin/phpunit --testsuite ApprovalTests; ./vendor/bin/behat;",
|
|
"test-coverage": "phpunit --coverage-html build/coverage",
|
|
"check-cs": "ecs check",
|
|
"fix-cs": "ecs check --fix",
|
|
"phpstan": "phpstan analyse --ansi"
|
|
}
|
|
}
|