32 lines
892 B
JSON
32 lines
892 B
JSON
{
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\NextcloudAnnouncements\\": "lib/"
|
|
}
|
|
},
|
|
"name": "nextcloud/nextcloud_announcements",
|
|
"description": "nextcloud_announcements",
|
|
"license": "AGPL",
|
|
"config": {
|
|
"classmap-authoritative": true,
|
|
"optimize-autoloader": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"scripts": {
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -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.phar --no-cache --threads=$(nproc)",
|
|
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
|
|
"test:unit": "echo 'Only testing installation of the app'"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/coding-standard": "^1.1",
|
|
"nextcloud/ocp": "dev-stable32",
|
|
"psalm/phar": "^6.1"
|
|
}
|
|
}
|