app_template/composer.json
2024-11-22 19:32:22 +01:00

43 lines
1011 B
JSON

{
"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": {
"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 --show-info=true",
"rector": "rector && composer cs:fix"
},
"require": {
"php": "^8.1"
},
"require-dev": {
"nextcloud/ocp": "^30.0.2",
"roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.3.2",
"nextcloud/rector": "^0.2.1",
"rector/rector": "^1.2.10",
"vimeo/psalm": "^5.26.1"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.1"
}
}
}