124 lines
4.5 KiB
JSON
124 lines
4.5 KiB
JSON
{
|
|
"$schema": "https://getcomposer.org/schema.json",
|
|
"name": "uwil/arcadia-api",
|
|
"description": "Arcadia Api in order to abstract corporate metamodel to a proper and stable implemented api",
|
|
"type": "project",
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": "^8.5",
|
|
"ext-bcmath": "*",
|
|
"ext-intl": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-oci8": "*",
|
|
"laravel/framework": "^13.24",
|
|
"laravel/sanctum": "^4.0",
|
|
"psr/clock": "^1.0",
|
|
"sentry/sentry-laravel": "^4.27",
|
|
"webmozart/assert": "^2.4",
|
|
"yajra/laravel-oci8": "^13.11"
|
|
},
|
|
"require-dev": {
|
|
"ace-of-aces/intellipest": "^1.0",
|
|
"barryvdh/laravel-ide-helper": "^3.7",
|
|
"driftingly/rector-laravel": "^2.5",
|
|
"fakerphp/faker": "^1.23",
|
|
"hotmeteor/spectator": "^3.0",
|
|
"larastan/larastan": "^3.10",
|
|
"laravel/pail": "^1.2.5",
|
|
"laravel/pint": "^1.30",
|
|
"laravel/tinker": "^3.0",
|
|
"mockery/mockery": "^1.6",
|
|
"nunomaduro/collision": "^8.6",
|
|
"nunomaduro/mock-final-classes": "^1.2",
|
|
"pestphp/pest": "^4.7",
|
|
"pestphp/pest-plugin-faker": "^4.0",
|
|
"pestphp/pest-plugin-laravel": "^4.1",
|
|
"pestphp/pest-plugin-type-coverage": "^4.0",
|
|
"php-parallel-lint/php-parallel-lint": "^1.4",
|
|
"phpstan/phpstan-webmozart-assert": "^2.0",
|
|
"phpunit/phpunit": "^12.5.12",
|
|
"slevomat/coding-standard": "^8.31"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Application\\": "src/Application/",
|
|
"Domain\\": "src/Domain/",
|
|
"Infra\\": "src/Infra/",
|
|
"Presentation\\": "src/Presentation/",
|
|
"Shared\\": "src/Shared/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Database\\ArcadiaReplicate\\": "database/arcadia-replicate/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/",
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"setup": [
|
|
"composer install",
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
|
"@php artisan key:generate",
|
|
"@php artisan migrate --force"
|
|
],
|
|
"dev": [
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\""
|
|
],
|
|
"test": [
|
|
"@php artisan config:clear --ansi @no_additional_args",
|
|
"vendor/bin/pest --coverage --min=85 --parallel"
|
|
],
|
|
"test:coverage": [
|
|
"@php artisan config:clear --ansi @no_additional_args",
|
|
"vendor/bin/pest --coverage --coverage-html coverage-report --min=85 --parallel"
|
|
],
|
|
"lint": [
|
|
"vendor/bin/parallel-lint --exclude vendor --exclude storage --exclude bootstrap --exclude node_modules .",
|
|
"vendor/bin/phpcs --standard=phpcs.xml --extensions=php --ignore=vendor/*,storage/*,bootstrap/*,node_modules/*",
|
|
"vendor/bin/phpstan analyse",
|
|
"vendor/bin/pint --test"
|
|
],
|
|
"analyse": "vendor/bin/phpstan analyse",
|
|
"format": "vendor/bin/pint",
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi",
|
|
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
|
|
"@php artisan migrate --graceful --ansi"
|
|
],
|
|
"pre-package-uninstall": [
|
|
"Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
|
|
]
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": [
|
|
"laravel/pao"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"pestphp/pest-plugin": true,
|
|
"php-http/discovery": true
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|