photos/composer.json

47 строки
1.2 KiB
JSON

{
"name": "nextcloud/photos",
"config": {
"autoloader-suffix": "Photos",
"classmap-authoritative": true,
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.0.2"
}
},
"autoload": {
"psr-4": {
"OCA\\Photos\\": "./lib/"
}
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm.phar --threads=1",
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "phpunit -c tests/phpunit.xml --color --fail-on-warning --fail-on-risky",
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
]
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"nextcloud/ocp": "dev-master"
},
"require": {
"hexogen/kdtree": "^0.2.5"
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}