-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
56 lines (56 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
{
"name": "shoptet/api-sdk-php",
"description": "Shoptet API SDK PHP",
"keywords": [
"shoptet",
"api",
"sdk",
"php"
],
"homepage": "https://www.shoptet.cz/",
"license": "MIT",
"authors": [
{
"name": "Shoptet and contributors",
"homepage": "https://github.com/shoptet/api-sdk-php/contributors"
}
],
"require": {
"php": "^8.3",
"ext-json": "*",
"ext-curl": "*",
"psr/log": ">=1.0.0"
},
"require-dev": {
"phpstan/phpstan": "1.12.1",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"squizlabs/php_codesniffer": "^3.9",
"contributte/qa": "^0.3.2",
"phpunit/phpunit": "^11.5.5"
},
"autoload": {
"psr-4": {
"Shoptet\\Api\\Sdk\\Php\\": "src/",
"ShoptetTests\\": "tests/"
}
},
"scripts": {
"phpstan": "php vendor/phpstan/phpstan/phpstan analyze -v -c phpstan.neon.dist --memory-limit=-1",
"phpstan:clear-cache": "php vendor/phpstan/phpstan/phpstan clear-result-cache -c phpstan.neon.dist",
"lint": "php vendor/php-parallel-lint/php-parallel-lint/parallel-lint src tests",
"phpcs": "php vendor/squizlabs/php_codesniffer/bin/phpcs -sp --cache --standard=ruleset.xml",
"tests:unit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --color --testsuite unit"
},
"scripts-descriptions": {
"phpstan": "Run PHPStan",
"phpstan:clear-cache": "Clear PHPStan result cache",
"lint": "Run Parallel Lint",
"phpcs": "Run Codesniffer",
"tests": "Run PHPUnit tests"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}