Skip to content

Commit

Permalink
feat: Add composer scripts and PestPHP Watch plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Jul 5, 2024
1 parent d0ca301 commit 5d8272b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"minimum-stability": "stable",
"scripts": {
"test": "./vendor/bin/pest --parallel",
"test:coverage": "XDEBUG_MODE=coverage ./vendor/bin/pest --parallel --coverage --min=100",
"test:watch": "comppser test -- --watch",
"test:coverage": "XDEBUG_MODE=coverage composer test -- --coverage --min=100",
"test:coverage:watch": "composer test:coverage -- --watch",
"phpstan": "./vendor/bin/phpstan --memory-limit=2G",
"pint": "./vendor/bin/pint"
},
Expand All @@ -30,12 +32,14 @@
"laravel/pint": "^1.16",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-strict-rules": "^1.6",
"phpstan/extension-installer": "^1.4"
"phpstan/extension-installer": "^1.4",
"pestphp/pest-plugin-watch": "^2.1"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
}
},
"process-timeout": 0
}
}

0 comments on commit 5d8272b

Please sign in to comment.