mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
db0707d898
phpunit version is dropped to 4.0 to meet PHP 5.5.9 requirement. Also, an .env file will now be copied over if one doesn't exist.
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "phanan/koel",
|
|
"description": "Personal audio streaming service that works.",
|
|
"keywords": ["audio", "stream", "mp3"],
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"require": {
|
|
"php": ">=5.5.9",
|
|
"laravel/framework": "5.1.*",
|
|
"james-heinrich/getid3": "^1.9"
|
|
},
|
|
"require-dev": {
|
|
"fzaninotto/faker": "~1.4",
|
|
"mockery/mockery": "0.9.*",
|
|
"phpunit/phpunit": "~4.0",
|
|
"phpspec/phpspec": "~2.1",
|
|
"barryvdh/laravel-ide-helper": "^2.1",
|
|
"phanan/cascading-config": "~2.0"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"database"
|
|
],
|
|
"psr-4": {
|
|
"App\\": "app/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"classmap": [
|
|
"tests/TestCase.php"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"php artisan clear-compiled",
|
|
"php artisan optimize",
|
|
"php -r \"if (!file_exists('.env')) copy('.env.example', '.env');\""
|
|
],
|
|
"pre-update-cmd": [
|
|
"php artisan clear-compiled"
|
|
],
|
|
"post-update-cmd": [
|
|
"php artisan optimize"
|
|
],
|
|
"post-root-package-install": [
|
|
"php -r \"copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"php artisan key:generate"
|
|
]
|
|
},
|
|
"config": {
|
|
"preferred-install": "dist"
|
|
}
|
|
}
|