mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
83 lines
2.2 KiB
JSON
83 lines
2.2 KiB
JSON
{
|
|
"name": "pestphp/pest",
|
|
"description": "An elegant PHP Testing Framework.",
|
|
"keywords": [
|
|
"php",
|
|
"framework",
|
|
"pest",
|
|
"unit",
|
|
"test",
|
|
"testing"
|
|
],
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Nuno Maduro",
|
|
"email": "enunomaduro@gmail.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.3",
|
|
"nunomaduro/collision": "^5.0",
|
|
"phpunit/phpunit": "^9.1.4",
|
|
"sebastian/environment": "^5.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Pest\\": "src/"
|
|
},
|
|
"files": [
|
|
"src/globals.php",
|
|
"compiled/globals.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/PHPUnit/"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"ergebnis/phpstan-rules": "^0.14.4",
|
|
"friendsofphp/php-cs-fixer": "^2.16.3",
|
|
"illuminate/console": "^7.10.3",
|
|
"illuminate/support": "^7.10.3",
|
|
"mockery/mockery": "^1.3.1",
|
|
"phpstan/phpstan": "^0.12.25",
|
|
"phpstan/phpstan-strict-rules": "^0.12.2",
|
|
"rector/rector": "^0.7.25",
|
|
"symfony/var-dumper": "^5.0.8",
|
|
"thecodingmachine/phpstan-strict-rules": "^0.12.0"
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"config": {
|
|
"sort-packages": true,
|
|
"preferred-install": "dist"
|
|
},
|
|
"bin": [
|
|
"bin/pest"
|
|
],
|
|
"scripts": {
|
|
"compile": "@php ./scripts/compile.php",
|
|
"lint": "rector process src && php-cs-fixer fix -v",
|
|
"test:lint": "php-cs-fixer fix -v --dry-run && rector process src --dry-run",
|
|
"test:types": "phpstan analyse --ansi",
|
|
"test:unit": "bin/pest --colors=always --exclude-group=integration",
|
|
"test:integration": "bin/pest --colors=always --group=integration",
|
|
"test:integration:snapshots": "REBUILD_SNAPSHOTS=true bin/pest --colors=always",
|
|
"test": [
|
|
"@test:lint",
|
|
"@test:types",
|
|
"@test:unit",
|
|
"@test:integration"
|
|
]
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"providers": [
|
|
"Pest\\Laravel\\PestServiceProvider"
|
|
]
|
|
}
|
|
}
|
|
}
|