-
Notifications
You must be signed in to change notification settings - Fork 52
/
composer.json
86 lines (86 loc) · 2.59 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "amazon-php/sp-api-sdk",
"description": "Amazon Selling Partner API - PHP SDK",
"keywords": ["amazon", "selling-partner-api", "php", "sdk", "rest", "api"],
"homepage": "https://openapi-generator.tech",
"license": "MIT",
"authors": [
{
"name": "Norbert Orzechowicz",
"homepage": "https://norbert.tech"
},
{
"name": "OpenAPI-Generator contributors",
"homepage": "https://openapi-generator.tech"
}
],
"require": {
"php": "~8.1 || ~8.2",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"psr/http-client": "^1.0.1",
"psr/http-factory": "^1.0",
"psr/log": "^1.1||^2.0||^3.0"
},
"require-dev": {
"nyholm/psr7": "^1.4",
"kriswallsmith/buzz": "^1.2",
"symfony/var-dumper": "^6.1",
"monolog/monolog": "^3.3",
"symfony/dotenv": "^6.1"
},
"autoload": {
"psr-4": { "AmazonPHP\\" : "src/AmazonPHP/" }
},
"autoload-dev": {
"psr-4": { "AmazonPHP\\Test\\" : "tests/" }
},
"scripts": {
"clean": [
"rm -rf src/AmazonPHP/SellingPartner/Api",
"rm -rf src/AmazonPHP/SellingPartner/Model"
],
"generate": [
"Composer\\Config::disableProcessTimeout",
"@clean",
"bin/generate.sh",
"@rector:process:force:php",
"@cs:php:fix",
"@rector:process:force:php",
"@cs:php:fix"
],
"build": [
"@static:analyze"
],
"static:analyze": [
"tools/vendor/bin/php-cs-fixer fix --dry-run",
"tools/vendor/bin/psalm"
],
"test": [
"@test:unit"
],
"test:unit": [
"tools/vendor/bin/phpunit --testsuite unit"
],
"test:functional": [
"tools/vendor/bin/phpunit --testsuite functional"
],
"rector:process:php": [
"Composer\\Config::disableProcessTimeout",
"tools/vendor/bin/rector process --config=rector-php.php --dry-run"
],
"rector:process:force:php": [
"Composer\\Config::disableProcessTimeout",
"tools/vendor/bin/rector process --no-diffs --no-progress-bar --config=rector-php.php"
],
"cs:php:fix": "tools/vendor/bin/php-cs-fixer fix",
"tools:install": "composer install --working-dir=./tools",
"post-install-cmd": [
"@tools:install"
],
"post-update-cmd": [
"@tools:install"
]
}
}