summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 2909e29bedf54dfdf808a6323eb9c55a683aa989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
	"name": "nextcloud/contacts",
	"config": {
		"optimize-autoloader": true,
		"platform": {
			"php": "7.4"
		},
		"autoloader-suffix": "Contacts"
	},
	"autoload": {
		"psr-4": {
			"OCA\\Contacts\\": "lib/"
		}
	},
	"scripts": {
		"cs:fix": "php-cs-fixer fix",
		"cs:check": "php-cs-fixer fix --dry-run --diff",
		"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
		"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
		"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
	},
	"require": {
		"php": ">=7.4 <=8.3"
	},
	"require-dev": {
        "christophwurst/nextcloud_testing": "^1.0.0",
		"phpunit/phpunit": "^9",
		"nextcloud/coding-standard": "^1.0.0"
	}
}