71 lines
2.4 KiB
JSON
71 lines
2.4 KiB
JSON
{
|
|
"name": "laravel/lumen",
|
|
"description": "The Laravel Lumen Framework.",
|
|
"keywords": ["framework", "laravel", "lumen"],
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"private": true,
|
|
"require": {
|
|
"php": ">=5.6.4",
|
|
"laravel/lumen-framework": "5.4.*",
|
|
"antadis/auth-provider-wsse": "dev-master",
|
|
"antadis/api-front" : "dev-master",
|
|
"barryvdh/laravel-cors": "^0.9.2",
|
|
"deployer/deployer": "^4.3"
|
|
},
|
|
"require-dev": {
|
|
"fzaninotto/faker": "~1.4",
|
|
"phpunit/phpunit": "~5.0",
|
|
"mockery/mockery": "~0.9",
|
|
"laravelista/lumen-vendor-publish": "~2.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Antadis\\API\\Front\\" : "vendor/antadis/API/front/src/",
|
|
"Antadis\\Security\\Wsse\\" : "vendor/antadis/Security/Wsse/src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"classmap": [
|
|
"tests/",
|
|
"database/"
|
|
]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"repositories": [
|
|
{
|
|
"type": "vcs",
|
|
"url": "git@gitlab.antadis.net:ng/api-front-core.git"
|
|
},
|
|
{
|
|
"type": "vcs",
|
|
"url": "git@gitlab.antadis.net:ng/auth-provider-wsse.git"
|
|
},
|
|
{
|
|
"type": "composer",
|
|
"url": "https://gitlab-composer.antadis.net/"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"set_prod_config" : [
|
|
"cp config/api.prod.php config/api.php; cp config/wsse.prod.php config/wsse.php; cp config/env.prod.php config/env.php"
|
|
],
|
|
"set_pprod_config" : [
|
|
"cp config/api.pprod.php config/api.php; cp config/wsse.pprod.php config/wsse.php; cp config/env.pprod.php config/env.php"
|
|
],
|
|
"set_local_config" : [
|
|
"cp config/api.local.php config/api.php; cp config/wsse.local.php config/wsse.php; cp config/env.local.php config/env.php"
|
|
],
|
|
"post-root-package-install": [
|
|
],
|
|
"post-install-cmd": [
|
|
"for item in $(grep -ls \"lib-post-install-cmd\" ./vendor/*/*/composer.json); do composer run-script lib-post-install-cmd -d $(dirname ${item}); done"
|
|
],
|
|
"post-update-cmd": [
|
|
"for item in $(grep -ls \"lib-post-update-cmd\" ./vendor/*/*/composer.json); do composer run-script lib-post-update-cmd -d $(dirname ${item}); done"
|
|
]
|
|
}
|
|
}
|