-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
56 lines (56 loc) · 1.6 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "nextcloud/twofactor_webauthn",
"description": "A two factor provider for WebAuthn devices for Nextcloud",
"type": "project",
"license": "agplv3",
"authors": [
{
"name": "Christoph Wurst"
},
{
"name": "Michael Blumenstein"
}
],
"require": {
"php": ">=8.1.0",
"ext-json": "*",
"bamarni/composer-bin-plugin": "^1.8.2",
"psr/log": "^2|^3",
"web-auth/webauthn-lib": "^4.9.1"
},
"require-dev": {
"christophwurst/nextcloud_testing": "^1.0.0",
"phpunit/phpunit": "^9.6.21",
"psalm/phar": "^5.26.1",
"roave/security-advisories": "dev-master"
},
"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",
"test": "phpunit -c tests/phpunit.xml",
"test:acceptance": "phpunit -c tests/phpunit.xml tests/Acceptance",
"test:integration": "phpunit -c tests/phpunit.xml tests/Integration",
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit",
"test:acceptance:dev": "phpunit -c tests/phpunit.xml tests/Acceptance --no-coverage",
"test:unit:dev": "phpunit -c tests/phpunit.xml tests/Unit --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.1.0"
},
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
}
}