49 строки
1.2 KiB
JSON
49 строки
1.2 KiB
JSON
{
|
|
"name": "nextcloud/ldap_contacts_backend",
|
|
"type": "project",
|
|
"license": "AGPLv3",
|
|
"authors": [
|
|
{
|
|
"name": "Arthur Schiwon",
|
|
"email": "blizzz@arthur-schiwon.de"
|
|
}
|
|
],
|
|
"config": {
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9",
|
|
"nextcloud/ocp": "dev-master",
|
|
"sabre/dav": "4.5.0",
|
|
"bamarni/composer-bin-plugin": "^1.8"
|
|
},
|
|
"require": {
|
|
"symfony/ldap": "^5.0"
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
|
|
],
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml",
|
|
"psalm": "psalm --no-cache --threads=$(nproc)",
|
|
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline"
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP"
|
|
}
|
|
}
|
|
}
|