- Introduced Pest testing framework with basic test cases. - Created TestCase and ExampleTest for unit testing. - Updated phpunit.xml for improved test configuration.
62 lines
2 KiB
JSON
62 lines
2 KiB
JSON
{
|
|
"name": "uwil/storage-laravel",
|
|
"description": "Handles file storage",
|
|
"license": "MIT",
|
|
"version": "1.0.0",
|
|
"readme": "https://lab.s-web.fr/ldc-web/projets/storage-laravel/-/blob/main/README.md",
|
|
"support": {
|
|
"email": "digital@ldc.fr",
|
|
"issues": "https://lab.s-web.fr/ldc-web/projets/storage-laravel/-/issues"
|
|
},
|
|
"require": {
|
|
"php": "^8.5",
|
|
"illuminate/support": "~13",
|
|
"laravel/framework": "~13"
|
|
},
|
|
"require-dev": {
|
|
"larastan/larastan": "^3.4",
|
|
"laravel/pint": "^1.29",
|
|
"php-parallel-lint/php-parallel-lint": "^1.4",
|
|
"slevomat/coding-standard": "^8.22",
|
|
"pestphp/pest": "^5.3",
|
|
"orchestra/testbench": "^11.3"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Uwil\\Storage\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Uwil\\Storage\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"providers": [
|
|
"Uwil\\Storage\\StorageServiceProvider"
|
|
],
|
|
"aliases": {
|
|
"StorageService": "Uwil\\Storage\\Facades\\StorageService"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"analyze": "./vendor/bin/phpstan analyse",
|
|
"format": "./vendor/bin/pint",
|
|
"lint": "./vendor/bin/phpcs && ./vendor/bin/pint --test",
|
|
"lint:fix": "./vendor/bin/phpcbf && ./vendor/bin/pint",
|
|
"lint:php": "./vendor/bin/parallel-lint --exclude vendor .",
|
|
"lint:phpcs": "./vendor/bin/phpcs",
|
|
"lint:phpstan": "./vendor/bin/phpstan analyse",
|
|
"lint:pint": "./vendor/bin/pint --test",
|
|
"test": "./vendor/bin/pest",
|
|
"test:coverage": "./vendor/bin/pest --log-junit=junit.xml --coverage --coverage-html=tests/coverage --coverage-clover=coverage.xml"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
}
|
|
}
|