37 строки
1.0 KiB
JSON
37 строки
1.0 KiB
JSON
{
|
|
"name": "twofactor_gateway/0.20.0",
|
|
"description": "TwoFactor Gateway for Nextcloud 21-24 with PHP 7.3-8.1",
|
|
"require": {
|
|
"php": "^8.0|^8.1",
|
|
"telegram-bot/api": "^2.4",
|
|
"bamarni/composer-bin-plugin": "^1.8"
|
|
},
|
|
"require-dev": {
|
|
"roave/security-advisories": "dev-master",
|
|
"nextcloud/ocp": "dev-master"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"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",
|
|
"test": "phpunit -c tests/phpunit.xml",
|
|
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit",
|
|
"test:unit:dev": "phpunit -c tests/phpunit.xml tests/Unit --no-coverage",
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi",
|
|
"composer dump-autoload"
|
|
],
|
|
"post-update-cmd": [
|
|
"@composer bin all update --ansi",
|
|
"composer dump-autoload"
|
|
]
|
|
}
|
|
}
|