forked from Setono/SyliusCatalogPromotionPlugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
141 lines (141 loc) · 5.31 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
{
"name": "bitbag/sylius-catalog-promotion-plugin",
"type": "sylius-plugin",
"description": "Catalog promotion plugin for Sylius",
"keywords": [
"sylius",
"sylius-plugin",
"catalog",
"setono",
"promotions"
],
"license": "MIT",
"require": {
"php": "^8.0",
"beberlei/doctrineextensions": "^1.2",
"sylius/sylius": "~1.11 || ~1.12 || ~1.13",
"sylius/resource-bundle": "^1.6",
"symfony/config": "^5.4 || ^6.0",
"symfony/lock": "^5.4 || ^6.0",
"thecodingmachine/safe": "^1.1",
"setono/job-status-bundle": "^0.2.3"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"setono/code-quality-pack": "^2.1.2",
"setono/sylius-behat-pack": "^0.2.1",
"behat/behat": "^1.8 || 3.6.1",
"behat/mink-selenium2-driver": "^1.4",
"dmore/behat-chrome-extension": "^1.3",
"dmore/chrome-mink-driver": "^2.7",
"friends-of-behat/mink": "^1.8",
"friends-of-behat/mink-browserkit-driver": "^1.4",
"friends-of-behat/mink-debug-extension": "^2.0.0",
"friends-of-behat/mink-extension": "^2.4",
"friends-of-behat/page-object-extension": "^0.3",
"friends-of-behat/suite-settings-extension": "^1.0",
"friends-of-behat/symfony-extension": "^2.1",
"friends-of-behat/variadic-extension": "^1.3",
"phpspec/phpspec": "^7.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "1.4",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^9.5",
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
"sylius-labs/coding-standard": "^4.0",
"symfony/browser-kit": "^5.4 || ^6.0",
"symfony/debug-bundle": "^5.4 || ^6.0",
"symfony/dotenv": "^5.4 || ^6.0",
"symfony/intl": "^5.4 || ^6.0",
"symfony/web-profiler-bundle": "^5.4 || ^6.0",
"symfony/webpack-encore-bundle": "^1.14",
"symfony/http-foundation": "^4.4 || ^5.0.7",
"doctrine/persistence": "^2.5 || ^3.0"
},
"conflict": {
"behat/mink-selenium2-driver": ">=1.7.0",
"doctrine/annotations": ">1.15"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"symfony/thanks": false,
"symfony/flex": false,
"dealerdirect/phpcodesniffer-composer-installer": false,
"phpstan/extension-installer": false,
"ergebnis/composer-normalize": false
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"Setono\\SyliusCatalogPromotionPlugin\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Setono\\SyliusCatalogPromotionPlugin\\": "tests/"
},
"classmap": [
"tests/Application/Kernel.php"
]
},
"prefer-stable": true,
"scripts": {
"all": [
"@checks",
"@tests"
],
"analyse": "phpstan analyse -c phpstan.neon",
"assets": [
"@ensure-assets-installed",
"@ensure-assets-compiled"
],
"behat": [
"APP_ENV=test composer ensure-database-created",
"APP_ENV=test composer ensure-schema-updated",
"./vendor/bin/behat --tags=\"~@javascript\" --no-interaction --format=progress"
],
"behat-js": [
"APP_ENV=test composer ensure-database-created",
"APP_ENV=test composer ensure-schema-updated",
"./vendor/bin/behat --tags=\"@javascript\" --no-interaction --format=progress"
],
"check-style": "vendor/bin/ecs check src/ tests/Application/Entity tests/Application/Doctrine tests/Behat/ spec/",
"checks": [
"composer check-style",
"composer analyse"
],
"ensure-assets-compiled": "[[ -d tests/Application/public/assets ]] || (cd tests/Application && yarn build && bin/console assets:install public)",
"ensure-assets-installed": "[[ -d tests/Application/node_modules ]] || (cd tests/Application && yarn install)",
"ensure-database-created": "(cd tests/Application && bin/console doctrine:database:create --if-not-exists)",
"ensure-schema-updated": "(cd tests/Application && bin/console doctrine:schema:update --force)",
"ensure-vendors-installed": "[[ -f vendor/autoload.php ]] || COMPOSER_MEMORY_LIMIT=-1 composer install",
"fix-style": "vendor/bin/ecs check src/ tests/Application/Entity tests/Application/Doctrine tests/Behat/ spec/ --fix",
"fixtures": [
"composer ensure-database-created",
"composer ensure-schema-updated",
"(cd tests/Application && bin/console sylius:fixtures:load default --no-interaction)"
],
"phpspec": "vendor/bin/phpspec run",
"phpunit": "vendor/bin/phpunit",
"run": "(cd tests/Application && symfony server:start --port=8000)",
"tests": [
"@phpspec",
"@behat",
"@behat-js"
],
"try": [
"@ensure-vendors-installed",
"@assets",
"@fixtures",
"@run"
]
}
}