31 lines
851 B
JSON
31 lines
851 B
JSON
{
|
|
"name": "f7cloud/files_pdfviewer",
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --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",
|
|
"psalm": "psalm --threads=1",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
|
|
"test:unit": "phpunit -c tests/phpunit.xml"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.3",
|
|
"phpunit/phpunit": "^9",
|
|
"bamarni/composer-bin-plugin": "^1.8"
|
|
}
|
|
}
|