43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\Notifications\\": "lib/"
|
|
}
|
|
},
|
|
"name": "f7cloud/notifications",
|
|
"description": "notifications",
|
|
"license": "AGPL",
|
|
"require-dev": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"nextcloud/ocp": "dev-stable32"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"platform": {
|
|
"php": "8.1"
|
|
},
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install",
|
|
"composer dump-autoload"
|
|
],
|
|
"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",
|
|
"openapi": "generate-spec --verbose",
|
|
"psalm": "psalm --no-cache --threads=$(nproc)",
|
|
"psalm:dev": "@psalm",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
|
|
"rector:check": "rector --dry-run --clear-cache",
|
|
"rector:fix": "rector",
|
|
"test:unit": "phpunit --color -c tests/Unit/phpunit.xml",
|
|
"test:integration": "cd tests/Integration && ./run.sh"
|
|
}
|
|
}
|