forked from dmind-gmbh/extension-cookieman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
183 lines (183 loc) · 6.53 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
{
"name": "dmind/cookieman",
"type": "typo3-cms-extension",
"description": "Provides a user consent popup. It asks for approval to include tracking objects (cookies, images or any HTML) and includes the objects when consented. It also removes cookies after the consent has been revoked.",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Jonas Eberle",
"role": "Developer"
}
],
"replace": {
"typo3-ter/cookieman": "self.version"
},
"require": {
"php": "^7.4 || ^8.0",
"typo3/cms-core": "^11.5 || 11.*.x-dev || dev-main"
},
"require-dev": {
"browserstack/browserstack-local": "dev-master",
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.3",
"codeception/module-webdriver": "^1.1",
"dmind/cookieman-test": "@dev",
"dmind/cookieman-test-bootstrap5-modal": "@dev",
"friendsofphp/php-cs-fixer": "^3.14",
"helhum/typo3-console": "^7.0 || 7.x-dev || dev-latest",
"php-coveralls/php-coveralls": "^2.1",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.5.25",
"typo3/cms-install": "^11.5 || 11.*.x-dev || dev-main",
"typo3/cms-tstemplate": "^11.5 || 11.*.x-dev || dev-main",
"typo3/tailor": "^1.3",
"typo3/testing-framework": "^6.15"
},
"config": {
"bin-dir": ".build/bin",
"sort-packages": true,
"vendor-dir": ".build/vendor",
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
}
},
"conflict": {
"typo3/cms-composer-installers": ">=4"
},
"extra": {
"branch-alias": {
"dev-master": "2.9.x-dev"
},
"typo3/cms": {
"extension-key": "cookieman",
"web-dir": ".build/public",
"app-dir": ".build"
}
},
"autoload": {
"psr-4": {
"Dmind\\Cookieman\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Dmind\\Cookieman\\Tests\\": "Tests/"
}
},
"repositories": [
{
"type": "path",
"url": "Build/*"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"[ -L .build/public/typo3conf/ext/cookieman ] || ln -snvf ../../../../. .build/public/typo3conf/ext/cookieman"
],
"build": [
"@build:prepare",
"@build:prod"
],
"build:prepare": [
"yarn install --save-dev --cwd=Build/"
],
"build:prod": [
"yarn --cwd=Build/ run prod"
],
"cookieman:bootstrap3-banner": [
"composer rem --dev 'dmind/cookieman-test-*'",
"composer req --dev dmind/cookieman-test-bootstrap3-banner:@dev",
"@typo3:flush"
],
"cookieman:bootstrap3-modal": [
"composer rem --dev 'dmind/cookieman-test-*'",
"composer req --dev dmind/cookieman-test-bootstrap3-modal:@dev",
"@typo3:flush"
],
"cookieman:bootstrap4-modal": [
"composer rem --dev 'dmind/cookieman-test-*'",
"composer req --dev dmind/cookieman-test-bootstrap4-modal:@dev",
"@typo3:flush"
],
"cookieman:bootstrap5-modal": [
"composer rem --dev 'dmind/cookieman-test-*'",
"composer req --dev dmind/cookieman-test-bootstrap5-modal:@dev",
"@typo3:flush"
],
"cookieman:customtheme": [
"composer rem --dev 'dmind/cookieman-test-*'",
"composer req --dev dmind/cookieman-test-customtheme:@dev",
"@typo3:flush"
],
"fix:cgl": [
"php-cs-fixer --config=.php_cs.dist.php fix --using-cache=no"
],
"install-typo3": [
"@typo3cms install:setup --admin-user-name=admin --admin-password=adminadmin --site-setup-type=site --no-interaction --force"
],
"release:create": [
"[ -z \"$IS_DDEV_PROJECT\" ] || ( echo 'Do not use from within ddev - Signing the commit would not work'; exit 1 ) || exit $?",
"tailor set-version",
"echo [RELEASE] $(grep release Documentation/Settings.cfg | grep -Eo '([0-9]+(\\.|$)){3}') > /tmp/COMMIT_MSG || exit $?",
"echo >> /tmp/COMMIT_MSG || exit $?",
"git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline --pretty=format:'%cs %s [%aN] (%h)' >> /tmp/COMMIT_MSG || exit $?",
"git commit --gpg-sign -aF /tmp/COMMIT_MSG || exit $?",
"git tag --sign -F /tmp/COMMIT_MSG"
],
"test": [
"@test:cgl",
"@test:unit",
"@test:acceptance"
],
"test:acceptance": [
"@test:acceptance:chrome"
],
"test:acceptance:browserstack_chrome": [
"codecept run --env browserstack_chrome -d -c Build/browserstack.codeception.yml -- acceptance"
],
"test:acceptance:browserstack_ie11": [
"codecept run --env browserstack_ie11 -d -c Build/browserstack.codeception.yml -- acceptance"
],
"test:acceptance:browserstack_iphone": [
"codecept run --env browserstack_iPhone8 --skip-group desktop -d -c Build/browserstack.codeception.yml -- acceptance"
],
"test:acceptance:browserstack_safari": [
"codecept run --env browserstack_safari -d -c Build/browserstack.codeception.yml -- acceptance"
],
"test:acceptance:chrome": [
"codecept run --env chrome -d -c Build/local.codeception.yml -- acceptance"
],
"test:acceptance:firefox": [
"codecept run --env firefox -d -c Build/local.codeception.yml -- acceptance"
],
"test:cgl": [
"php-cs-fixer --config=.php_cs.dist.php fix -v --using-cache=no --dry-run"
],
"test:unit": [
"@putenv XDEBUG_MODE=coverage",
"phpunit -c Build/UnitTests.phpunit.xml"
],
"tests-for:ci": [
"@test:cgl",
"@test:unit"
],
"typo3": [
".build/bin/typo3 --ansi"
],
"typo3cms": [
".build/bin/typo3cms --ansi"
],
"typo3:flush": [
"@typo3 cache:warmup"
]
},
"support": {
"issues": "https://github.com/dmind-gmbh/extension-cookieman/issues",
"source": "https://github.com/dmind-gmbh/extension-cookieman"
}
}