|
17 | 17 | } |
18 | 18 | ], |
19 | 19 | "require": { |
20 | | - "php": "^8.0", |
| 20 | + "php": "^8.1", |
21 | 21 | "illuminate/contracts": "^10" |
22 | 22 | }, |
23 | 23 | "require-dev": { |
24 | 24 | "brianium/paratest": "^7", |
25 | | - "nunomaduro/collision": "^7", |
26 | 25 | "larastan/larastan": "^2.0", |
| 26 | + "laravel/pint": "^1.13", |
| 27 | + "nunomaduro/collision": "^7", |
27 | 28 | "orchestra/testbench": "^8.0", |
| 29 | + "pestphp/pest": "^2.30", |
28 | 30 | "phpstan/extension-installer": "^1.1", |
29 | 31 | "phpstan/phpstan-deprecation-rules": "^1.0", |
30 | | - "phpstan/phpstan-phpunit": "^1.0", |
31 | | - "phpunit/phpunit": "^10" |
| 32 | + "phpstan/phpstan-phpunit": "^1.0" |
32 | 33 | }, |
33 | 34 | "autoload": { |
34 | 35 | "psr-4": { |
|
41 | 42 | } |
42 | 43 | }, |
43 | 44 | "scripts": { |
44 | | - "phpstan": "vendor/bin/phpstan analyse", |
45 | | - "test": "vendor/bin/phpunit", |
46 | | - "test-coverage": "vendor/bin/phpunit --coverage-html coverage" |
| 45 | + "post-autoload-dump": "@composer run prepare", |
| 46 | + "clear": "@php vendor/bin/testbench package:purge-skeleton --ansi", |
| 47 | + "prepare": "@php vendor/bin/testbench package:discover --ansi", |
| 48 | + "build": [ |
| 49 | + "@composer run prepare", |
| 50 | + "@php vendor/bin/testbench workbench:build --ansi" |
| 51 | + ], |
| 52 | + "start": [ |
| 53 | + "Composer\\Config::disableProcessTimeout", |
| 54 | + "@composer run build", |
| 55 | + "@php vendor/bin/testbench serve" |
| 56 | + ], |
| 57 | + "analyse": "vendor/bin/phpstan analyse", |
| 58 | + "test": "vendor/bin/pest", |
| 59 | + "test-coverage": "vendor/bin/pest --coverage", |
| 60 | + "format": "vendor/bin/pint" |
47 | 61 | }, |
48 | 62 | "config": { |
49 | 63 | "sort-packages": true, |
50 | 64 | "allow-plugins": { |
| 65 | + "pestphp/pest-plugin": true, |
51 | 66 | "phpstan/extension-installer": true |
52 | 67 | } |
53 | 68 | }, |
|
0 commit comments