diff --git a/composer.json b/composer.json index 51288c456..be74bc74c 100644 --- a/composer.json +++ b/composer.json @@ -68,20 +68,21 @@ "bunx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"bun run dev\" --names=server,queue,logs,vite" ], "refactor": "rector", - "typos": "peck", - "types": "phpstan --memory-limit=1G", - "lint": "pint", - "test": "pest", - "test:test-coverage": "pest --parallel --coverage --exactly=100", - "test:type-coverage": "pest --type-coverage --memory-limit=1G --min=100", + "format": "pint", + "lint": "phpstan --memory-limit=1G", + "test": [ + "@php artisan config:clear --ansi", + "XDEBUG_MODE=coverage pest --parallel --coverage --exactly=100" + ], "test:refactor": "rector --dry-run", - "test:types": "phpstan --memory-limit=1G", - "test:lint": "pint --test", + "test:format": "pint --test", + "test:typos": "peck", + "test:type-coverage": "pest --parallel --type-coverage --memory-limit=1G --min=100", "test:all": [ "@test:refactor", - "@test:types", - "@test:lint", - "@test:test-coverage", + "@test:format", + "@lint", + "@test", "@test:type-coverage" ] },