calendar/composer.json

45 lines
1.4 KiB
JSON

{
"config": {
"platform": {
"php": "8.0"
},
"sort-packages": true,
"optimize-autoloader": true,
"autoloader-suffix": "Calendar",
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"autoload": {
"psr-4": {
"OCA\\Calendar\\": "lib/"
}
},
"require": {
"php": ">= 8.0 <=8.3",
"bamarni/composer-bin-plugin": "^1.8.2"
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './tests/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm",
"test": "phpunit --configuration phpunit.unit.xml --fail-on-warning",
"test:dev": "phpunit --configuration phpunit.unit.xml --fail-on-warning --stop-on-error --stop-on-failure",
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning",
"test:integration:dev": "phpunit -c phpunit.integration.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false
}
}
}