{
	"name": "nextcloud/deck",
	"type": "project",
	"license": "AGPLv3",
	"authors": [
		{
			"name": "Julius Härtl",
			"email": "jus@bitgrid.net"
		}
	],
	"require": {
		"justinrainbow/json-schema": "^6.0"
	},
	"require-dev": {
		"roave/security-advisories": "dev-master",
		"phpunit/phpunit": "^9",
		"nextcloud/coding-standard": "^1.1",
		"nextcloud/ocp": "dev-stable32",
		"psalm/phar": "^5.13"
	},
	"config": {
		"optimize-autoloader": true,
		"allow-plugins": {
			"composer/package-versions-deprecated": true
		},
		"platform": {
			"php": "8.1"
		}
	},
	"scripts": {
		"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
		"cs:check": "php-cs-fixer fix --dry-run --diff",
		"cs:fix": "php-cs-fixer fix",
		"psalm": "psalm.phar",
		"psalm:update-baseline": "psalm.phar --update-baseline",
		"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType",
		"test": [
			"@test:unit",
			"@test:integration"
		],
		"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml",
		"test:integration": "vendor/bin/phpunit -c tests/phpunit.integration.xml",
		"test:api": "cd tests/integration && ./run.sh"
	},
	"autoload-dev": {
		"psr-4": {
			"OCP\\": "vendor/nextcloud/ocp/OCP"
		}
	}
}
