twofactor_totp/composer.json

52 строки
1.6 KiB
JSON

{
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP",
"OCA\\TwoFactorTOTP\\": "lib/"
}
},
"require": {
"christian-riesen/base32": "^1.6.0",
"rullzer/easytotp": "^0.1.4"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"christian-riesen/otp": "2.7.0",
"christophwurst/nextcloud_testing": "^1.0",
"psalm/phar": "^5.25.0"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -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": "phpunit -c tests/phpunit.xml",
"test:acceptance": "phpunit -c tests/phpunit.xml tests/Acceptance",
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit",
"test:acceptance:dev": "phpunit -c tests/phpunit.xml tests/Acceptance --no-coverage",
"test:unit:dev": "phpunit -c tests/phpunit.xml tests/Unit --no-coverage",
"bin": "echo 'bin not installed'",
"post-install-cmd": ["@composer bin all install --ansi"]
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.0"
},
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}