70 строки
1.7 KiB
JSON
70 строки
1.7 KiB
JSON
{
|
|
"name": "nextcloud/polls",
|
|
"type": "project",
|
|
"license": "AGPLv3",
|
|
"authors": [
|
|
{
|
|
"name": "Vinzenz Rosenkranz"
|
|
},
|
|
{
|
|
"name": "Kai Schröer"
|
|
},
|
|
{
|
|
"name": "René Gieling"
|
|
}
|
|
],
|
|
"config": {
|
|
"sort-packages": true,
|
|
"optimize-autoloader": true,
|
|
"autoloader-suffix": "Polls",
|
|
"platform": {
|
|
"php": "8.0"
|
|
},
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\Polls\\": "lib/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCA\\Polls\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"doctrine/dbal": "3.8.6",
|
|
"league/factory-muffin": "^3.0",
|
|
"league/factory-muffin-faker": "^2.0",
|
|
"nextcloud/coding-standard": "^1.0",
|
|
"nextcloud/ocp": "dev-stable28"
|
|
},
|
|
"scripts": {
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"psalm": "psalm --no-diff",
|
|
"phpunit:unit": "phpunit -c tests/phpunit.xml",
|
|
"phpunit:integration": "phpunit -c tests/phpunit.xml",
|
|
"psalm:fix": "psalm --alter --php-version=8.0 --issues=MissingReturnType,InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
|
|
"psalm:info": "psalm --no-diff --show-info=true",
|
|
"psalm:baseline": "psalm --set-baseline=psalm-baseline.xml",
|
|
"psalm:baseline:update": "psalm --update-baseline",
|
|
"bin": "echo 'bin not installed'",
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi",
|
|
"composer dump-autoload"
|
|
],
|
|
"post-update-cmd": [
|
|
"@composer bin all update --ansi",
|
|
"composer dump-autoload"
|
|
]
|
|
},
|
|
"require": {
|
|
"league/commonmark": "^2.1",
|
|
"rlanvin/php-rrule": "^2.3"
|
|
}
|
|
}
|