-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcomposer.json
79 lines (73 loc) · 3.38 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
{
"name": "oxid-esales/graphql-storefront",
"description": "OXID eSales GraphQL storefront module",
"type": "oxideshop-module",
"keywords": ["oxid", "modules", "eShop", "GraphQL"],
"homepage": "https://www.oxid-esales.com",
"license": ["proprietary"],
"require": {
"php": "^8.2",
"doctrine/dbal": "^v2.7",
"oxid-esales/graphql-base": "dev-b-7.2.x"
},
"conflict": {
"oxid-esales/oxideshop-ce": "<7.2",
"oxid-esales/graphql-catalogue": "*",
"oxid-esales/graphql-account": "*",
"oxid-esales/graphql-checkout": "*"
},
"require-dev": {
"phpunit/phpunit": "^10.4",
"phpstan/phpstan": "^1.10.58",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "^2.11",
"mikey179/vfsstream": "^1.6",
"oxid-esales/oxideshop-ce": "dev-b-7.2.x",
"qossmic/deptrac-shim": "^1.0.2",
"codeception/module-rest": "^3.3",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-db": "*",
"codeception/codeception": "^5.0",
"oxid-esales/codeception-modules": "dev-b-7.2.x",
"codeception/module-asserts": "^3.0",
"codeception/c3": "^2.9"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"OxidEsales\\GraphQL\\Storefront\\": "src",
"OxidEsales\\GraphQL\\Storefront\\Tests\\": "tests"
}
},
"scripts": {
"phpcs": "phpcs --standard=tests/phpcs.xml --report=full",
"phpcs-report": "phpcs --standard=tests/phpcs.xml --report=json --report-file=tests/Reports/phpcs.report.json",
"phpcbf": "phpcbf --standard=tests/phpcs.xml",
"phpstan": "phpstan -ctests/PhpStan/phpstan.neon analyse src/",
"phpstan-report": "phpstan -ctests/PhpStan/phpstan.neon analyse src/ --error-format=json > tests/Reports/phpstan.report.json",
"phpmd": "phpmd src ansi tests/PhpMd/exclude-ruleset.xml",
"phpmd-report": "phpmd src json tests/PhpMd/exclude-ruleset.xml --reportfile tests/reports/phpmd.report.json",
"deptrac": "deptrac analyze",
"static": [
"@phpcs",
"@phpstan",
"@deptrac",
"@phpmd"
],
"tests-unit": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Unit --coverage-clover=tests/Reports/coverage_unit_graphql-storefront.xml",
"tests-integration": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Integration --coverage-clover=tests/Reports/coverage_integration_graphql-storefront.xml",
"tests-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/reports/coverage",
"tests-codeception": [
"Composer\\Config::disableProcessTimeout",
"MODULE_IDS=oe_graphql_base,oe_graphql_storefront BROWSER_NAME=chrome SELENIUM_SERVER_HOST=selenium THEME_ID=apex SHOP_ROOT_PATH=/var/www vendor/bin/codecept run Acceptance -c tests/codeception.yml --no-redirect"
]
},
"config": {
"allow-plugins": {
"oxid-esales/oxideshop-unified-namespace-generator": true,
"oxid-esales/oxideshop-composer-plugin": false,
"codeception/c3": true
}
}
}