Files
nextcloud-tables/composer.json
Arthur Schiwon 45e704fe25 build: bump to 1.0.0
- drop NC 29 support
- bump PHP requirement to 8.1

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-16 07:25:17 +01:00

55 lines
1.9 KiB
JSON

{
"name": "nextcloud/tables",
"description": "This app is for managing data in tables.",
"type": "project",
"license": "AGPL",
"authors": [
{
"name": "Florian Steffens",
"email": "florian@nextcloud.com"
}
],
"require-dev": {
"nextcloud/coding-standard": "^v1.4.0",
"nextcloud/ocp": "dev-stable29",
"staabm/annotate-pull-request-from-checkstyle": "^1.8.5",
"phpunit/phpunit": "^9",
"psalm/phar": "^5.26.1",
"bamarni/composer-bin-plugin": "^1.8.2"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.1"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"scripts": {
"test": [
"@test:unit"
],
"test:unit": "./vendor/bin/phpunit -c tests/unit/phpunit.xml",
"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": "./vendor/bin/psalm.phar --show-info=false --no-cache",
"psalm:update-baseline": "./vendor/bin/psalm.phar --update-baseline",
"psalm:fix": "./vendor/bin/psalm.phar --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
"psalm:fix:dry": "./vendor/bin/psalm.phar --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType --dry-run",
"openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
]
},
"require": {
"phpoffice/phpspreadsheet": "^1.29.10",
"ext-json": "*"
}
}