-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcomposer.json
65 lines (65 loc) · 1.76 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
59
60
61
62
63
64
65
{
"name": "jakobo/hotp-php",
"version": "2.0.1",
"repositories": {
"github": {
"type": "github",
"url": "https://github.com/thecodedrift/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": "^8.5.13||^9.5.0",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"friendsofphp/php-cs-fixer": "^3.4",
"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"
]
}
}
}