-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
44 lines (44 loc) · 1.17 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
{
"name": "redrat/cuddly",
"description": "Collections and Bags with super powers",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Joubert RedRat",
"email": "me+github@redrat.com.br"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.3"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^9.2",
"symfony/var-dumper": "^5.1"
},
"autoload": {
"psr-4": {
"RedRat\\Cuddly\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RedRat\\Cuddly\\Tests\\": "tests/"
}
},
"scripts": {
"psr12":[
"vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR12 --extensions=php,inc,lib src/",
"vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR12 --extensions=php,inc,lib tests/"
],
"tests": "vendor/phpunit/phpunit/phpunit -c tests/phpunit.unit.xml --no-coverage",
"test": "vendor/phpunit/phpunit/phpunit -c tests/phpunit.unit.xml --no-coverage $@",
"coverage": "vendor/phpunit/phpunit/phpunit -c tests/phpunit.unit.xml",
"coverage-show": [
"@coverage",
"xdg-open tests/_reports/unit/coverage/index.html"
]
}
}