diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/composer.json b/composer.json index f558c0d..65b9f84 100644 --- a/composer.json +++ b/composer.json @@ -14,5 +14,28 @@ "email": "sam@lightscale.co.uk" } ], - "require": {} -} + "require-dev": { + "orchestra/testbench": "^10.1" + }, + "autoload-dev": { + "psr-4": { + "Workbench\\App\\": "workbench/app/", + "Workbench\\Database\\Factories\\": "workbench/database/factories/", + "Workbench\\Database\\Seeders\\": "workbench/database/seeders/" + } + }, + "scripts": { + "post-autoload-dump": [ + "@clear", + "@prepare" + ], + "clear": "@php vendor/bin/testbench package:purge-skeleton --ansi", + "prepare": "@php vendor/bin/testbench package:discover --ansi", + "build": "@php vendor/bin/testbench workbench:build --ansi", + "serve": [ + "Composer\\Config::disableProcessTimeout", + "@build", + "@php vendor/bin/testbench serve --ansi" + ] + } +}
\ No newline at end of file |