-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcomposer.json
135 lines (135 loc) · 5.5 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
{
"name": "setono/sylius-mailchimp-plugin",
"type": "sylius-plugin",
"description": "Mailchimp plugin for Sylius.",
"keywords": [
"sylius",
"sylius-plugin",
"mailchimp"
],
"license": "MIT",
"require": {
"php": ">=7.4",
"ext-json": "*",
"ext-mbstring": "*",
"doctrine/doctrine-bundle": "^1.12.12 || ^2.0",
"doctrine/event-manager": "^1.1",
"doctrine/orm": "^2.7",
"doctrine/persistence": "^1.3 || ^2.0",
"drewm/mailchimp-api": "^2.5",
"fakerphp/faker": "^1.20",
"knplabs/knp-menu": "^3.3",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"setono/doctrine-orm-batcher": "^0.6.2",
"setono/doctrine-orm-batcher-bundle": "^0.3.1",
"sylius/resource-bundle": "^1.6",
"symfony/cache": "^4.4 || ^5.4 || ^6.0",
"symfony/config": "^4.4 || ^5.4 || ^6.0",
"symfony/console": "^4.4 || ^5.4 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/event-dispatcher": "^4.4 || ^5.4 || ^6.0",
"symfony/form": "^4.4 || ^5.4 || ^6.0",
"symfony/http-foundation": "^4.4 || ^5.4 || ^6.0",
"symfony/lock": "^4.4 || ^5.4 || ^6.0",
"symfony/messenger": "^4.4 || ^5.4 || ^6.0",
"symfony/options-resolver": "^4.4 || ^5.4 || ^6.0",
"symfony/routing": "^4.4 || ^5.4 || ^6.0",
"symfony/translation-contracts": "^1.0 || ^2.0 || ^3.0",
"symfony/validator": "^4.4 || ^5.4 || ^6.0",
"symfony/workflow": "^4.4 || ^5.4 || ^6.0",
"thecodingmachine/safe": "^1.3",
"twig/twig": "^2.15 || ^3.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev",
"phpspec/phpspec": "^7.2",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-latest",
"setono/code-quality-pack": "^1.5",
"sylius/sylius": "~1.9.10",
"symfony/debug-bundle": "^4.4 || ^5.4 || ^6.0",
"symfony/dotenv": "^4.4 || ^5.4 || ^6.0",
"symfony/intl": "^4.4 || ^5.4 || ^6.0",
"symfony/web-profiler-bundle": "^4.4 || ^5.4 || ^6.0"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": false,
"symfony/thanks": false
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"Setono\\SyliusMailchimpPlugin\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Setono\\SyliusMailchimpPlugin\\": "tests/"
},
"classmap": [
"tests/Application/Kernel.php"
]
},
"scripts": {
"all": [
"@checks",
"@tests"
],
"analyse": "phpstan analyse -c phpstan.neon",
"assets": [
"@ensure-assets-installed",
"@ensure-assets-compiled"
],
"behat": [
"SYMFONY_ENV=test composer ensure-database-created",
"SYMFONY_ENV=test composer ensure-schema-updated",
"SYMFONY_ENV=test composer ensure-env-copied",
"vendor/bin/behat --tags=\"~@javascript\" --no-interaction --format=progress"
],
"check-style": "vendor/bin/ecs check src/ spec/ tests/",
"checks": [
"@check-style",
"@analyse"
],
"ensure-assets-compiled": "[[ -d tests/Application/public/assets ]] || (cd tests/Application && yarn build && composer ensure-env-copied && bin/console assets:install public -e ${SYMFONY_ENV:-'dev'})",
"ensure-assets-installed": "[[ -d tests/Application/node_modules ]] || (cd tests/Application && yarn install)",
"ensure-database-created": "composer ensure-env-copied && (cd tests/Application && bin/console doctrine:database:create --if-not-exists -e ${SYMFONY_ENV:-'dev'})",
"ensure-env-copied": "([[ ${SYMFONY_ENV:-'dev'} == 'dev' ]] && composer ensure-env-dev-copied) || ([[ ${SYMFONY_ENV:-'dev'} == 'test' ]] && composer ensure-env-test-copied) || echo 'Unknown environment ${SYMFONY_ENV}'",
"ensure-env-dev-copied": "(cd tests/Application && ([[ -f .env.dev.local ]] || cp .env .env.dev.local))",
"ensure-env-test-copied": "(cd tests/Application && ([[ -f .env.test.local ]] || cp .env.test .env.test.local))",
"ensure-schema-updated": "composer ensure-env-copied && (cd tests/Application && bin/console doctrine:schema:update --force -e ${SYMFONY_ENV:-'dev'})",
"ensure-vendors-installed": "[[ -f vendor/autoload.php ]] || php -d memory_limit=-1 /usr/local/bin/composer install",
"fix-style": "vendor/bin/ecs check src/ spec/ tests/ --fix",
"fixtures": [
"@ensure-database-created",
"@ensure-schema-updated",
"(cd tests/Application && bin/console sylius:fixtures:load --no-interaction -e ${SYMFONY_ENV:-'dev'})"
],
"phpspec": "vendor/bin/phpspec run",
"phpunit": "vendor/bin/phpunit",
"run": [
"@ensure-env-copied",
"(cd tests/Application && bin/console server:run -d public -e ${SYMFONY_ENV:-'dev'})"
],
"tests": [
"@phpspec",
"@behat"
],
"try": [
"@ensure-vendors-installed",
"@assets",
"@fixtures",
"@run"
]
}
}