Skip to content

Commit 5a9481d

Browse files
committed
Add scripts
1 parent f9b5949 commit 5a9481d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

composer.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@
3737
"DebugBar\\Tests\\": "tests/DebugBar/Tests"
3838
}
3939
},
40+
"scripts": {
41+
"demo": [
42+
"Composer\\Config::disableProcessTimeout",
43+
"@php -S localhost:8000"
44+
],
45+
"unit-test": "@php vendor/bin/phpunit --testsuite=Unit",
46+
"browser-test": "@php vendor/bin/phpunit --testsuite=Browser",
47+
"browser-debug": [
48+
"@putenv PANTHER_NO_HEADLESS=1",
49+
"@php vendor/bin/phpunit --testsuite=Browser --debug"
50+
]
51+
},
4052
"suggest": {
4153
"kriswallsmith/assetic": "The best way to manage assets",
4254
"monolog/monolog": "Log using Monolog",

0 commit comments

Comments
 (0)