-
Notifications
You must be signed in to change notification settings - Fork 9
/
composer.json
58 lines (58 loc) · 1.62 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
57
58
{
"name": "jakobo/hotp-php",
"description": "HOTP simplifies One Time Password systems for PHP Authentication",
"license": "BSD-3-Clause",
"authors" : [
{
"name": "Jakob Heuser",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"jakobo\\HOTP\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"jakobo\\HOTP\\Tests\\": "tests/"
}
},
"require": {
"php": ">=7.2"
},
"require-dev": {
"ockcyp/covers-validator": "^1.3.3",
"phpunit/phpunit": "^6.5.14||^7.0.15||^8.5.13||^9.5.0",
"php-parallel-lint/php-console-highlighter": "0.5",
"php-parallel-lint/php-parallel-lint": "1.3.1",
"friendsofphp/php-cs-fixer": "^3.4||^3.5||^3.6",
"brainmaestro/composer-git-hooks": "^2.8"
},
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"test": [
"parallel-lint . --exclude vendor",
"covers-validator",
"phpunit --coverage-text"
],
"cover": "phpunit --coverage-html coverage",
"cghooks": "vendor/bin/cghooks",
"fix": "php-cs-fixer fix --config=.php-cs-fixer.php"
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": ["pre-commit"]
},
"pre-commit": [
"composer run-script fix",
"git update-index --again :/:"
],
"post-merge": [
"composer install"
]
}
}
}