92 lines
2.9 KiB
JSON
92 lines
2.9 KiB
JSON
{
|
|
"name": "ldc/incollector",
|
|
"type": "project",
|
|
"version": "1.0.0",
|
|
"description": "LDC Incollector - A workaround of Arcadia",
|
|
"authors": [
|
|
{
|
|
"name": "Olivier Legat",
|
|
"email": "olivier.legat@ldc.fr"
|
|
},
|
|
{
|
|
"name": "Jérémy Munsch",
|
|
"email": "jeremy.munsch@ldc.fr",
|
|
"homepage": "https://jeremydev.ovh"
|
|
}
|
|
],
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": "^7.3|^8.0",
|
|
"fruitcake/laravel-cors": "^2.0",
|
|
"guzzlehttp/guzzle": "^7.0.1",
|
|
"kwaadpepper/crud-policies": "^0.3.5",
|
|
"kwaadpepper/enum": "^2.1",
|
|
"kwaadpepper/exception-handler": "^0.0.5",
|
|
"laravel/framework": "^8.65",
|
|
"laravel/sanctum": "^2.11",
|
|
"laravel/tinker": "^2.5",
|
|
"rennokki/laravel-eloquent-query-cache": "^3.3"
|
|
},
|
|
"require-dev": {
|
|
"facade/ignition": "^2.5",
|
|
"fakerphp/faker": "^1.9.1",
|
|
"laravel/sail": "^1.0.1",
|
|
"mockery/mockery": "^1.4.4",
|
|
"nunomaduro/collision": "^5.10",
|
|
"phpunit/phpunit": "^9.5.10",
|
|
"slevomat/coding-standard": "^7.1",
|
|
"squizlabs/php_codesniffer": "^3.6"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"@configclear",
|
|
"./test.sh"
|
|
],
|
|
"configclear": "@php artisan config:clear",
|
|
"runtestmigration": "@php artisan migrate:fresh --env=testing --seed",
|
|
"runtest": "@php artisan test --no-coverage --testsuite Api",
|
|
"runtestWithCoverage": "@php artisan test --testsuite Api",
|
|
"runserve": "@php artisan serve --host=127.0.0.1 --port=8888 --env=testing&",
|
|
"killserve": "kill $(ps -f | grep '[1]27.0.0.1:8888' | awk '{print $2}')",
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"@php artisan vendor:publish --tag=laravel-assets --ansi"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi"
|
|
]
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|