app_template/composer.json

51 lines
1.2 KiB
JSON
Raw Permalink Normal View History

{
"name": "nextcloud/app_template",
"description": "An example description",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "example",
"email": "example@example.com",
"homepage": "https://example.com"
}
],
"autoload": {
"psr-4": {
"OCA\\AppTemplate\\": "lib/"
}
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm --threads=1 --no-cache",
"test:unit": "phpunit tests -c tests/phpunit.xml --colors=always --fail-on-warning --fail-on-risky",
"openapi": "generate-spec",
"rector": "rector && composer cs:fix"
},
"require": {
"bamarni/composer-bin-plugin": "^1.8",
"php": "^8.1"
},
"require-dev": {
"nextcloud/ocp": "dev-stable29",
"roave/security-advisories": "dev-latest"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.1"
}
}
}