2024-04-25 08:03:54 +00:00
|
|
|
{
|
2024-04-25 08:18:42 +00:00
|
|
|
"name": "nextcloud/app_template",
|
2024-04-25 08:03:54 +00:00
|
|
|
"description": "An example description",
|
|
|
|
"license": "AGPL-3.0-or-later",
|
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "example",
|
2024-04-29 06:54:02 +00:00
|
|
|
"email": "example@example.com",
|
|
|
|
"homepage": "https://example.com"
|
2024-04-25 08:03:54 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"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",
|
2024-11-10 15:05:53 +00:00
|
|
|
"psalm": "psalm --threads=1 --no-cache --show-info=true",
|
2024-09-19 22:48:23 +00:00
|
|
|
"rector": "rector && composer cs:fix"
|
2024-04-25 08:03:54 +00:00
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"php": "^8.1"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
2024-11-10 15:05:53 +00:00
|
|
|
"nextcloud/ocp": "^30.0.2",
|
|
|
|
"roave/security-advisories": "dev-latest",
|
|
|
|
"nextcloud/coding-standard": "^1.3.2",
|
|
|
|
"rector/rector": "^1.2.10",
|
|
|
|
"vimeo/psalm": "^5.26.1"
|
2024-04-25 08:03:54 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
"sort-packages": true,
|
|
|
|
"platform": {
|
|
|
|
"php": "8.1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|