- Introduced SitemapStorage class for reading, writing, and checking existence of sitemap files. - Updated GenerateSitemapCommand to utilize SitemapStorage for file operations. - Refactored tests to accommodate changes in sitemap file handling. - Enhanced configuration to support output paths and storage disks.
70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
{
|
|
"name": "uwil/sitemap-generator",
|
|
"description": "Create sitemap.xml",
|
|
"license": "proprietary",
|
|
"keywords": [
|
|
"sitemap",
|
|
"laravel"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "LDC Digital",
|
|
"email": "digital@ldc.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.5",
|
|
"illuminate/support": "^13.0",
|
|
"laravel/framework": "^13.0",
|
|
"spatie/laravel-sitemap": "^8.1"
|
|
},
|
|
"require-dev": {
|
|
"mcamara/laravel-localization": "^2.4",
|
|
"slevomat/coding-standard": "^8.15",
|
|
"larastan/larastan": "^3.0",
|
|
"pestphp/pest": "^5.3",
|
|
"laravel/pint": "^1.32",
|
|
"orchestra/testbench": "^11.3",
|
|
"ace-of-aces/intellipest": "^1.0",
|
|
"php-parallel-lint/php-parallel-lint": "^1.4"
|
|
},
|
|
"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"
|
|
},
|
|
"suggest": {
|
|
"mcamara/laravel-localization": "Required for localized route name translations",
|
|
"league/flysystem-aws-s3-v3": "Required to store the sitemap on an Amazon S3 disk"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Uwil\\SitemapGenerator\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Uwil\\SitemapGenerator\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"providers": [
|
|
"Uwil\\SitemapGenerator\\SitemapGeneratorServiceProvider"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
}
|
|
}
|