-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
44 lines (44 loc) · 884 Bytes
/
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
{
"name": "aaron/inquirer-php",
"description": "Inquirer.js clone in PHP.",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Aaron\\InquirerPhp\\": "src/"
}
},
"authors": [
{
"name": "aaron",
"email": "yo@aaron.com.es"
}
],
"require-dev": {
"phpunit/phpunit": "^9",
"friendsofphp/php-cs-fixer": "^3.6",
"brainmaestro/composer-git-hooks": "^2.8"
},
"scripts": {
"test": [
"phpunit --testdox --color=always"
],
"test:coverage": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --color=always"
],
"format": [
"php-cs-fixer fix src/",
"php-cs-fixer fix tests/"
],
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"hooks": {
"pre-commit": [
"composer format"
]
}
}
}