forked from LauLamanApps/iZettleApi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.31 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
{
"name": "laulamanapps/izettle-api",
"description": "Zettle by PayPal API PHP Client",
"license": "MIT",
"authors": [
{
"name": "Laurens Laman",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"LauLamanApps\\IzettleApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LauLamanApps\\IzettleApi\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^6.3 || ^7.4.5",
"moneyphp/money": "^3.0 || ^4.0",
"ramsey/uuid": "^3.7 || ^4.0",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.5",
"friendsofphp/php-cs-fixer": "^3.9"
},
"scripts": {
"test": "phpunit",
"test-unit": "phpunit --testsuite unit",
"test-integration": "phpunit --testsuite integration",
"test-coverage": [
"rm -rf coverage || true",
"phpunit --coverage-html=coverage/ --coverage-clover=coverage/clover.xml"
],
"format": "php-cs-fixer fix --verbose"
},
"scripts-descriptions": {
"test": "Run all unit and integration tests",
"test-unit": "Run unit tests",
"test-integration": "Run integration tests",
"test-coverage": "Run unit and integration tests and generate coverage report",
"format": "Run php-cs-fixer to fix the code formatting"
}
}