49 строки
1.3 KiB
JSON
49 строки
1.3 KiB
JSON
{
|
|
"name": "nextcloud/backup",
|
|
"description": "Backup app",
|
|
"minimum-stability": "stable",
|
|
"license": "agpl",
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"autoloader-suffix": "Backup",
|
|
"platform": {
|
|
"php": "8.0"
|
|
}
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "Maxence Lange",
|
|
"email": "maxence@artificial-owl.com"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\Backup\\": "lib/"
|
|
}
|
|
},
|
|
"require": {
|
|
"ifsnop/mysqldump-php": "2.12",
|
|
"spatie/db-dumper": "^3.4",
|
|
"pimple/pimple": "~3.0"
|
|
},
|
|
"scripts": {
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"psalm": "psalm --threads=1 --update-baseline",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
|
|
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
|
|
"test": [
|
|
"@test:unit"
|
|
],
|
|
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.0.0",
|
|
"vimeo/psalm": "^5.18",
|
|
"phpunit/phpunit": "^9.5"
|
|
}
|
|
}
|