feat: adds --version option

This commit is contained in:
Nuno Maduro
2020-06-26 18:17:11 +02:00
parent cb4c9563bd
commit 9ea51caf3f
5 changed files with 88 additions and 9 deletions

View File

@ -31,6 +31,7 @@
},
"files": [
"src/globals.php",
"src/Pest.php",
"compiled/globals.php"
]
},
@ -67,7 +68,7 @@
"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:types": "phpstan analyse --ansi --memory-limit=0",
"test:unit": "php bin/pest --colors=always --exclude-group=integration",
"test:integration": "php bin/pest --colors=always --group=integration",
"update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always",
@ -82,6 +83,11 @@
"branch-alias": {
"dev-master": "0.2.x-dev"
},
"pest": {
"plugins": [
"Pest\\Plugins\\Version"
]
},
"laravel": {
"providers": [
"Pest\\Laravel\\PestServiceProvider"