forked from DevelopersRede/erede-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 1.95 KB
/
composer.json
File metadata and controls
78 lines (78 loc) · 1.95 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "developersrede/erede-nitro",
"version": "1.0.2",
"description": "e.Rede integration SDK",
"minimum-stability": "stable",
"license": "MIT",
"type": "library",
"require": {
"php": "^8.2",
"ext-curl": "*",
"ext-json": "*",
"psr/log": "*"
},
"require-dev": {
"phpunit/phpunit": "^12.1.6",
"phpstan/phpstan": "^1.12.27",
"kint-php/kint": "^6.0.1",
"monolog/monolog": "^3.9.0",
"friendsofphp/php-cs-fixer": "^3.75.0",
"brainmaestro/composer-git-hooks": "^3.0.0"
},
"autoload": {
"psr-4": {
"Rede\\": "src/Rede"
}
},
"autoload-dev": {
"psr-4": {
"Rede\\Tests\\": "tests/"
}
},
"suggest": {
"monolog/monolog": "Allows more advanced logging of the application flow"
},
"scripts": {
"start": "php -S localhost:8879 -t .",
"format:check": "php-cs-fixer fix --dry-run --stop-on-violation",
"format:fix": "php-cs-fixer fix",
"phpstan": "phpstan analyse -c phpstan.neon --xdebug",
"phpunit": "phpunit --configuration phpunit.xml --testdox",
"test": [
"@phpstan",
"@phpunit"
],
"lint": [
"@format:fix",
"@phpstan"
],
"test:unit": "phpunit tests/Unit --configuration phpunit.xml --testdox",
"test:e2e": "phpunit tests/E2E --configuration phpunit.xml --testdox",
"test:coverage": "phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --coverage-html build/coverage",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": [
"pre-push",
"pre-commit"
]
},
"pre-commit": [
"composer format:check"
]
}
},
"authors": [
{
"name": "João Batista Neto",
"email": "neto.joaobatista@gmail.com"
},
{
"name": "Edson Nascimento",
"homepage": "https://www.linkedin.com/in/edsonwalter/"
}
]
}