зеркало из https://github.com/nextcloud/activity.git
47 строки
1.3 KiB
JSON
47 строки
1.3 KiB
JSON
{
|
|
"name": "nextcloud/activity",
|
|
"description": "activity",
|
|
"license": "AGPL",
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\Activity\\": "./lib/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"psalm": "psalm.phar --threads=1",
|
|
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
|
|
"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"
|
|
],
|
|
"post-update-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
|
|
]
|
|
},
|
|
"require-dev": {
|
|
"bamarni/composer-bin-plugin": "^1.8"
|
|
},
|
|
"extra": {
|
|
"bamarni-bin": {
|
|
"bin-links": true,
|
|
"forward-command": false
|
|
}
|
|
}
|
|
}
|