42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "f7cloud/password_policy",
|
|
"description": "Password Policy for F7cloud",
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"bamarni-bin": {
|
|
"bin-links": true,
|
|
"forward-command": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"@composer bin all update --ansi"
|
|
],
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"openapi": "generate-spec --verbose",
|
|
"test:unit": "phpunit -c tests/phpunit.xml --no-coverage",
|
|
"test:unit:coverage": "phpunit -c tests/phpunit.xml",
|
|
"psalm": "psalm --threads=1",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.2",
|
|
"bamarni/composer-bin-plugin": "^1.8"
|
|
}
|
|
}
|