-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
41 lines (41 loc) · 1.08 KB
/
composer.json
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
31
32
33
34
35
36
37
38
39
40
41
{
"name": "nextcloud/password_policy",
"description": "Password Policy for Nextcloud",
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.1"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"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",
"openapi": "generate-spec --verbose",
"test:unit": "phpunit -c tests/phpunit.xml --no-coverage",
"test:unit:coverage": "phpunit -c tests/phpunit.xml",
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache"
},
"require-dev": {
"nextcloud/coding-standard": "^1.2",
"bamarni/composer-bin-plugin": "^1.8"
}
}