-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
96 lines (96 loc) · 3.55 KB
/
Copy pathcomposer.json
File metadata and controls
96 lines (96 loc) · 3.55 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "convertcom/php-sdk",
"description": "Convert PHP SDK - a PHP version of the Convert Insights SDK",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Convert Insights, Inc",
"homepage": "https://www.convert.com"
}
],
"require": {
"php": "^8.2",
"psr/log": "^3.0",
"psr/simple-cache": "^3.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"php-http/discovery": "^1.19",
"lastguest/murmurhash": "^2.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/psr7": "^1.7 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^2.0",
"symplify/monorepo-builder": "^12.0",
"php-http/mock-client": "^1.6",
"nyholm/psr7": "^1.8",
"monolog/monolog": "^3.8"
},
"autoload": {
"psr-4": {
"ConvertSdk\\": [
"packages/Api/src/",
"packages/Bucketing/src/",
"packages/Data/src/",
"packages/Experience/src/",
"packages/Logger/src/",
"packages/Php-sdk/src/",
"packages/Rules/src/",
"packages/Segments/src/"
],
"ConvertSdk\\Config\\": "packages/Php-sdk/src/Config/",
"ConvertSdk\\Enums\\": "packages/Enums/src/",
"ConvertSdk\\Event\\": "packages/Event/src/",
"ConvertSdk\\Utils\\": "packages/Utils/src/",
"ConvertSdk\\Tests\\": "packages/Utils/tests/",
"OpenAPI\\Client\\": [
"packages/Types/lib/",
"packages/Types/lib/Generated/"
]
}
},
"autoload-dev": {
"psr-4": {
"ConvertSdk\\Tests\\CrossSdk\\": "tests/CrossSdk/",
"ConvertSdk\\Tests\\Integration\\": "tests/Integration/"
}
},
"scripts": {
"analyze": "phpstan analyse --memory-limit=512M",
"cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
"test": "phpunit --testdox",
"test:unit": "phpunit --testsuite unit --testdox",
"test:cross-sdk": "phpunit --testsuite cross-sdk --testdox",
"test:integration": "phpunit --testsuite integration --testdox",
"test:coverage": "phpunit --coverage-html coverage-report --testdox",
"test:coverage:ci": "phpunit --testdox --coverage-clover coverage.xml --coverage-text --only-summary-for-coverage-text",
"api:build": "cd packages/Api && composer run-script build",
"data:build": "cd packages/Data && composer run-script build",
"enums:build": "cd packages/Enums && composer run-script build",
"event:build": "cd packages/Event && composer run-script build",
"logger:build": "cd packages/Logger && composer run-script build",
"utils:build": "cd packages/Utils && composer run-script build",
"sdk:build": "cd packages/Php-sdk && composer run-script build",
"build": [
"@build:validate",
"@test",
"@analyze",
"@cs-check"
],
"build:validate": "monorepo-builder validate",
"build:merge": "monorepo-builder merge"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
}
}
}