105 lines
3.4 KiB
JSON
105 lines
3.4 KiB
JSON
{
|
|
"name": "ldc/ldccrmv2",
|
|
"type": "project",
|
|
"version": "3.1.0",
|
|
"description": "LDC CRM V2 - revamped",
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": "^7",
|
|
"ext-curl": "*",
|
|
"ext-dom": "*",
|
|
"ext-json": "*",
|
|
"arondeparon/laravel-request-sanitizer": "^3.1",
|
|
"axlon/laravel-postal-code-validation": "^3.2",
|
|
"diglactic/laravel-breadcrumbs": "^8.1",
|
|
"doctrine/dbal": "^3.0",
|
|
"fideloper/proxy": "^4.4",
|
|
"fruitcake/laravel-cors": "^2.0",
|
|
"guzzlehttp/guzzle": "^7.0.1",
|
|
"kwaadpepper/enum": "^2.1",
|
|
"kwaadpepper/exception-handler": "^0.0.6",
|
|
"laravel-lang/lang": "~7.0",
|
|
"laravel/framework": "^8.39",
|
|
"laravel/tinker": "^2.5",
|
|
"league/csv": "^9.7",
|
|
"propaganistas/laravel-phone": "^4.3",
|
|
"rennokki/laravel-eloquent-query-cache": "^3.0",
|
|
"spatie/laravel-mix-preload": "^1.2"
|
|
},
|
|
"require-dev": {
|
|
"brianium/paratest": "^6.4",
|
|
"facade/ignition": "^2.5",
|
|
"fakerphp/faker": "^1.9.1",
|
|
"mockery/mockery": "^1.4.2",
|
|
"nunomaduro/collision": "^5.0",
|
|
"phpunit/phpunit": "^9.3.3",
|
|
"respect/validation": "^2.2",
|
|
"slevomat/coding-standard": "^7.0",
|
|
"squizlabs/php_codesniffer": "^3.5",
|
|
"symfony/process": "^5.3"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "7.3.26"
|
|
},
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"composer/package-versions-deprecated": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\migrations\\": "database/migrations/",
|
|
"Database\\Seeders\\": "database/seeders/",
|
|
"LDC\\LDCCRM\\": "clients/V2/src/",
|
|
"LDCCRM\\": "clients/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"test": [
|
|
"@exportclear",
|
|
"@configclear",
|
|
"./test.sh"
|
|
],
|
|
"testCoverage": [
|
|
"@exportclear",
|
|
"@configclear",
|
|
"./test.sh -c"
|
|
],
|
|
"stressTest": "@php artisan test -p --testsuite StressTest",
|
|
"exportclear": "rm -f storage/export/arcadia/*.xml 2> /dev/null",
|
|
"configclear": "@php artisan config:clear",
|
|
"runtestmigration": "@php artisan migrate:fresh --env=testing --seed",
|
|
"runtest": "@php artisan test --no-coverage --testsuite CRM,Client",
|
|
"runtestWithCoverage": "@php artisan test --testsuite CRM,Client",
|
|
"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-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi"
|
|
]
|
|
}
|
|
}
|