95f47c3412
Signed-off-by: GitHub <noreply@github.com>
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"name": "nextcloud/app_template",
|
|
"description": "An example description",
|
|
"license": "AGPL-3.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "example",
|
|
"email": "example@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"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|