-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
126 lines (126 loc) · 3.95 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "shoppingfeed/shoppingfeed-for-woocommerce",
"description": "WordPress connection Controller Plugin for ShoppingFeed - Sell on Amazon, Ebay, Google, and 1000's of international marketplaces",
"license": "GPL-3.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"shopping-feed",
"woocommerce",
"feed"
],
"authors": [
{
"name": "Shopping-Feed",
"email": "support@shopping-flux.com"
},
{
"name": "Be API",
"email": "technical@beapi.fr"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/WordPress/wordpress-develop"
}
],
"require": {
"php": "^7.3|^8.0",
"composer/installers": "~1.0|~2.0",
"shoppingfeed/php-feed-generator": "^1.2.1"
},
"autoload": {
"psr-4": {
"ShoppingFeed\\ShoppingFeedWC\\": "src",
"ShoppingFeed\\ShoppingFeedWC\\Dependencies\\": "vendor_prefixed"
}
},
"autoload-dev": {
"psr-4": {
"ShoppingFeed\\ShoppingFeedWC\\Tests\\": "tests"
}
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.3",
"phpro/grumphp-shim": "^1.5.0",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^3.11",
"wp-coding-standards/wpcs": "^2.2",
"overtrue/phplint": "^2.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"php-stubs/woocommerce-stubs": "^7.7",
"lucatume/wp-browser": "^3.1 <3.5",
"codeception/module-asserts": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-webdriver": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/util-universalframework": "^1.0",
"roots/wordpress": "^6.2",
"wp-cli/wp-cli-bundle": "^2.7",
"coenjacobs/mozart": "^0.7.1",
"shoppingfeed/php-sdk": "^0.7.0"
},
"extra": {
"installer-paths": {
"wordpress": [
"roots/wordpress"
]
},
"mozart": {
"dep_namespace": "ShoppingFeed\\ShoppingFeedWC\\Dependencies\\",
"dep_directory": "/vendor_prefixed/",
"classmap_directory": "/classes_prefixed/",
"classmap_prefix": "SF_Dep_",
"packages": [
"guzzlehttp/guzzle",
"shoppingfeed/php-sdk"
],
"override_autoload": {
"shoppingfeed/php-sdk": {
"psr-4": {
"ShoppingFeed\\Sdk\\": "src/"
}
}
}
}
},
"scripts": {
"cs": "./vendor/bin/phpcs",
"cbf": "./vendor/bin/phpcbf",
"psalm": "./vendor/bin/psalm",
"tests": "./vendor/bin/codecept run --html",
"test-unit": "./vendor/bin/codecept run unit --html",
"test-wpunit": "./vendor/bin/codecept run wpunit --html",
"test-functional": "./vendor/bin/codecept run functional --html",
"test-acceptance": "./vendor/bin/codecept run acceptance --html",
"mozart-compose": [
"vendor/bin/mozart compose",
"find ./vendor_prefixed -type f -exec sed -i '' 's/use GuzzleHttp;/use ShoppingFeed\\\\ShoppingFeedWC\\\\Dependencies\\\\GuzzleHttp;/g' {} \\;",
"find ./vendor_prefixed -type f -exec sed -i '' 's/use Psr\\\\Http\\\\/use ShoppingFeed\\\\ShoppingFeedWC\\\\Dependencies\\\\Psr\\\\Http\\\\/g' {} \\;",
"find ./vendor_prefixed -type f -name '*.php' -exec sed -i '' 's/\\\\GuzzleHttp\\\\ClientInterface::VERSION/\\\\ShoppingFeed\\\\ShoppingFeedWC\\\\Dependencies\\\\GuzzleHttp\\\\ClientInterface::VERSION/g' {} \\;",
"@composer dump-autoload -o",
"@composer dump-autoload -o"
],
"post-install-cmd": [
"@composer mozart-compose"
],
"post-update-cmd": [
"@composer mozart-compose"
]
},
"config": {
"platform": {
"php": "7.3.99"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpro/grumphp-shim": true,
"roots/wordpress-core-installer": true
}
}
}