This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 22
/
composer.json
347 lines (347 loc) · 14.1 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
{
"name": "shopware/platform",
"description": "The Shopware e-commerce core",
"type": "library",
"keywords": [
"framework",
"shopware"
],
"homepage": "https://www.shopware.com",
"license": "MIT",
"replace": {
"shopware/core": "self.version",
"shopware/storefront": "self.version",
"shopware/administration": "self.version",
"shopware/elasticsearch": "self.version"
},
"support": {
"issues": "https://issues.shopware.com",
"forum": "https://forum.shopware.com",
"wiki": "https://developer.shopware.com",
"docs": "https://developer.shopware.com",
"chat": "https://slack.shopware.com"
},
"extra": {
"branch-alias": {
"dev-master": "6.4.x-dev",
"dev-trunk": "6.4.x-dev"
}
},
"config": {
"platform": {
"php": "7.4.3"
},
"sort-packages": true,
"process-timeout": 7200
},
"require": {
"php": "^7.4.3 || ^8.0",
"ext-curl": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-session": "*",
"ext-simplexml": "*",
"ext-sodium": "*",
"ext-xml": "*",
"ext-zip": "*",
"ext-zlib": "*",
"aws/aws-sdk-php": "~3.198.5",
"cocur/slugify": "4.0.0",
"composer-runtime-api": "^2.0",
"composer/composer": "^2.1.9",
"composer/semver": "^3.2",
"doctrine/annotations": "1.13.1",
"doctrine/dbal": "2.13.3",
"doctrine/inflector": "~1.4.4",
"dompdf/dompdf": "1.0.2",
"elasticsearch/elasticsearch": "7.11.0",
"enqueue/dbal": "0.10.11",
"erusev/parsedown-extra": "0.8.1",
"ezyang/htmlpurifier": "4.13.0",
"google/cloud-storage": "~1.25.1",
"guzzlehttp/guzzle": "~7.2",
"jdorn/sql-formatter": "1.2.17",
"lcobucci/jwt": "~4.1.5",
"league/flysystem": "~1.1.4",
"league/flysystem-aws-s3-v3": "~1.0.29",
"league/oauth2-server": "~8.3.2",
"marc1706/fast-image-size": "1.1.6",
"nyholm/psr7": "1.4.0",
"ongr/elasticsearch-dsl": "7.2.2",
"padaliyajay/php-autoprefixer": "1.3",
"psr/cache": "1.0.1",
"psr/event-dispatcher": "1.0.0",
"psr/http-factory": "1.0.1",
"psr/http-message": "1.0.1",
"psr/log": "1.1.2",
"scssphp/scssphp": "1.0.7",
"sensio/framework-extra-bundle": "5.5.6",
"sroze/messenger-enqueue-transport": "0.4.0",
"superbalist/flysystem-google-storage": "~7.2.2",
"symfony/asset": "~5.3.11",
"symfony/cache": "~5.3.12",
"symfony/cache-contracts": "2.2.0",
"symfony/config": "~5.3.11",
"symfony/console": "~5.3.11",
"symfony/debug-bundle": "~5.3.4",
"symfony/dependency-injection": "~5.3.11",
"symfony/deprecation-contracts": "2.2.0",
"symfony/dotenv": "~5.3.10",
"symfony/error-handler": "~5.3.11",
"symfony/event-dispatcher": "~5.3.11",
"symfony/event-dispatcher-contracts": "2.2.0",
"symfony/filesystem": "~5.3.4",
"symfony/finder": "~5.3.7",
"symfony/framework-bundle": "~5.3.11",
"symfony/http-foundation": "~5.3.11",
"symfony/http-kernel": "~5.3.12",
"symfony/inflector": "~5.3.11",
"symfony/mailer": "~5.3.9",
"symfony/messenger": "~5.3.11",
"symfony/mime": "~5.3.11",
"symfony/monolog-bridge": "~5.3.7",
"symfony/monolog-bundle": "3.6.0",
"symfony/options-resolver": "~5.3.7",
"symfony/polyfill-php80": "~1.23.1",
"symfony/polyfill-php81": "~v1.23.0",
"symfony/process": "~5.3.12",
"symfony/property-access": "~5.3.8",
"symfony/property-info": "~5.3.8",
"symfony/proxy-manager-bridge": "~5.3.11",
"symfony/psr-http-message-bridge": "2.1.0",
"symfony/rate-limiter": "~5.3.11",
"symfony/routing": "~5.3.11",
"symfony/security-core": "~5.3.11",
"symfony/security-csrf": "~5.3.4",
"symfony/serializer": "~5.3.12",
"symfony/service-contracts": "2.2.0",
"symfony/translation": ">= 5.3.0 < 5.3.7",
"symfony/translation-contracts": "2.3.0",
"symfony/twig-bridge": "~5.3.11",
"symfony/twig-bundle": "~5.3.10",
"symfony/validator": "~5.3.12",
"symfony/var-exporter": "~5.3.11",
"symfony/yaml": "~5.3.11",
"true/punycode": "2.1.1",
"twig/intl-extra": "3.3.0",
"twig/string-extra": "3.3.0",
"twig/twig": "3.3.3",
"zircote/swagger-php": "3.1.0",
"squirrelphp/twig-php-syntax": "1.6.0"
},
"require-dev": {
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
"bamarni/composer-bin-plugin": "~1.4.1",
"brianium/paratest": "^6.2",
"dms/phpunit-arraysubset-asserts": "^0.2.1",
"fakerphp/faker": "~1.14.1",
"johnkary/phpunit-speedtrap": "~3.3.0",
"league/flysystem-memory": "~1.0.2",
"maltyxx/images-generator": "~1.0.0",
"mbezhanov/faker-provider-collection": "~2.0.1",
"nikic/php-parser": "~4.10.4",
"opis/json-schema": "~1.0.19",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "0.12.90",
"phpstan/phpstan-doctrine": "0.12.39",
"phpstan/phpstan-phpunit": "0.12.20",
"phpstan/phpstan-symfony": "0.12.37",
"phpunit/php-code-coverage": "~9.2.5",
"phpunit/phpunit": "~9.5.6",
"smalot/pdfparser": "~0.14.0",
"symfony/browser-kit": "~5.3.0",
"symfony/css-selector": "^5.3",
"symfony/dom-crawler": "~5.3.0",
"symfony/expression-language": "~5.3.0",
"symfony/phpunit-bridge": "~5.3.0",
"symfony/stopwatch": "~5.3.0",
"symfony/var-dumper": "~5.3.0",
"symfony/web-profiler-bundle": "~5.3.0"
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"hook:pre-commit": [
"bin/pre-commit"
],
"hook:pre-commit:install": [
"ln -sf $PWD/bin/pre-commit .git/hooks/pre-commit"
],
"hook:pre-push": [
"bin/pre-commit"
],
"hook:pre-push:install": [
"ln -sf $PWD/bin/pre-push .git/hooks/pre-push"
],
"init:db": [
"@php bin/console system:install --drop-database --basic-setup --force"
],
"init:js": [
"@npm:admin clean-install",
"@npm:storefront clean-install"
],
"setup": [
"@composer install",
"@composer install -d src/Recovery",
"mkdir -p config/jwt || true",
"mkdir -p custom/plugins || true",
"@init:db",
"@init:js",
"@build:js",
"@php bin/console theme:compile",
"@php bin/console theme:change --all Storefront",
"@php bin/console assets:install"
],
"npm:admin:bin": "export PROJECT_ROOT=\"$PWD\"; cd src/Administration/Resources/app/administration; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$PROJECT_ROOT\"/bin/exec-with-env ",
"npm:admin": "@npm:admin:bin npm",
"npm:storefront:bin": "export PROJECT_ROOT=\"$PWD\"; cd src/Storefront/Resources/app/storefront; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$PROJECT_ROOT\"/bin/exec-with-env ",
"npm:storefront": "@npm:storefront:bin npm",
"npm:e2e:admin:bin": "export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Administration/Resources/app/administration/test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env ",
"npm:e2e:admin": "@npm:e2e:admin:bin npm",
"npm:e2e:recovery:bin": "export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Recovery/Test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env ",
"npm:e2e:recovery": "@npm:e2e:recovery:bin npm",
"npm:e2e:storefront:bin": "export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Storefront/Resources/app/storefront/test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env ",
"npm:e2e:storefront": "@npm:e2e:storefront:bin npm",
"build:js:admin": [
"@php bin/console bundle:dump",
"@npm:admin run build",
"@php bin/console assets:install"
],
"build:js:storefront": [
"@npm:storefront run production",
"cd src/Storefront/Resources/app/storefront && node copy-to-vendor.js"
],
"build:js": [
"@php bin/console bundle:dump",
"@build:js:admin",
"@build:js:storefront"
],
"watch:admin": [
"@php bin/console feature:dump",
"@php bin/console bundle:dump",
"@npm:admin run dev"
],
"watch:storefront": [
"@php bin/console feature:dump",
"@php bin/console theme:dump",
"@npm:storefront run hot-proxy"
],
"stylelint:admin": "@npm:admin:bin stylelint --syntax scss",
"stylelint:storefront": "@npm:storefront:bin stylelint --syntax scss --config stylelint.config.js",
"stylelint": [
"@stylelint:admin src/**/*.scss",
"@stylelint:storefront src/**/*.scss"
],
"eslint:admin": "@npm:admin:bin eslint --config .eslintrc.js --ext .js,.vue,.html.twig",
"eslint:storefront": "@npm:storefront:bin eslint --config .eslintrc.js --ext .js,.vue",
"eslint": [
"@eslint:admin",
"@eslint:storefront"
],
"ecs": "ecs check",
"ecs-fix": "ecs check --fix",
"lint:changelog": "@php bin/shopware changelog:check",
"lint:snippets": "@php bin/shopware snippets:validate",
"lint": [
"@stylelint",
"@eslint",
"@ecs src/",
"@lint:changelog",
"@lint:snippets"
],
"phpstan": [
"@php src/Core/DevOps/StaticAnalyze/PHPStan/phpstan-bootstrap.php",
"phpstan analyze --memory-limit=2G"
],
"psalm": "psalm --config=psalm.xml --threads=4",
"bc-check": "vendor-bin/roave-backward-compatibility-check/bin/bc-check --from=$(git merge-base $(git rev-parse HEAD) $(git rev-parse origin/trunk))",
"static-analyze": [
"@phpstan src/",
"@psalm src/"
],
"phpunit": [
"phpunit"
],
"paratest": [
"paratest --configuration phpunit.xml.dist --testsuite=paratest --exclude-group=skip-paratest,needsWebserver --processes $(nproc)"
],
"init:e2e:admin": "@npm:e2e:admin clean-install",
"init:e2e:storefront": "@npm:e2e:storefront clean-install",
"init:e2e:recovery": "@npm:e2e:recovery clean-install",
"e2e:setup": [
"@putenv APP_ENV=e2e",
"@setup",
"@e2e:prepare"
],
"e2e:prepare": [
"@putenv APP_ENV=e2e",
"@putenv CYPRESS_localUsage=1",
"@php bin/console e2e:dump-db"
],
"e2e:admin:cypress": [
"export APP_ENV=e2e; export CYPRESS_localUsage=1; export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Administration/Resources/app/administration/test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env cypress"
],
"e2e:admin:percy": [
"export APP_ENV=e2e; export CYPRESS_localUsage=1; export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Administration/Resources/app/administration/test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env percy"
],
"e2e:storefront:cypress": [
"export APP_ENV=e2e; export CYPRESS_localUsage=1; export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Storefront/Resources/app/storefront/test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env cypress"
],
"e2e:storefront:percy": [
"export APP_ENV=e2e; export CYPRESS_localUsage=1; export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Storefront/Resources/app/storefront/test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env percy"
],
"e2e:recovery:cypress": [
"export APP_ENV=e2e; export CYPRESS_localUsage=1; export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Recovery/Test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env cypress"
],
"e2e:recovery:percy": [
"export APP_ENV=e2e; export CYPRESS_localUsage=1; export CYPRESS_shopwareRoot=\"$PWD\"; cd src/Recovery/Test/e2e; export PATH=\"$PWD/node_modules/.bin/:$PATH\"; \"$CYPRESS_shopwareRoot\"/bin/exec-with-env percy"
],
"e2e:admin:run": [
"@e2e:admin:cypress run --browser chrome --headless"
],
"e2e:storefront:run": [
"@e2e:storefront:cypress run --browser chrome --headless"
],
"e2e:recovery:run": [
"@e2e:recovery:cypress run --browser chrome --headless"
],
"e2e:admin:open": [
"@e2e:admin:cypress open"
],
"e2e:storefront:open": [
"@e2e:storefront:cypress open"
],
"e2e:recovery:open": [
"@e2e:recovery:cypress open"
]
},
"conflict": {
"symfony/symfony": "*",
"symfony/notifier": "v5.3.8"
},
"autoload": {
"psr-4": {
"Shopware\\Administration\\": "src/Administration/",
"Shopware\\Docs\\": "src/Docs/",
"Shopware\\Storefront\\": "src/Storefront/",
"Shopware\\Core\\": "src/Core/",
"Shopware\\Elasticsearch\\": "src/Elasticsearch/"
},
"exclude-from-classmap": [
"src/**/Test/"
]
}
}