-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
176 lines (176 loc) · 6.58 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
{
"name" : "punkt-de/th-rating",
"type" : "typo3-cms-extension",
"license" : "GPL-2.0-or-later",
"description" : "Highly flexible AJAX rating based on extbase/fluid/jquery. Allows multiple ratings within one page. Could be used as a cObj by other extensions or included in every FLUID template using the viewhelper. Each ratingstep could be configured having a name - international localization included.",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Thomas Hucke",
"role": "Developer"
},
{
"name": "punkt.de GmbH",
"role": "Developer"
}
],
"homepage": "https://extensions.typo3.org/extension/th_rating/",
"keywords": [
"TYPO3",
"extension",
"ajax",
"jQuery",
"Fluid",
"Extbase",
"rating",
"polling",
"likeButton"
],
"support": {
"issues": "https://github.com/punktDe/TYPO3.ext.th_rating/issues",
"docs": "https://docs.typo3.org/typo3cms/extensions/th_rating/",
"source": "https://github.com/punktDe/TYPO3.ext.th_rating"
},
"autoload" : {
"psr-4" : {
"Thucke\\ThRating\\" : "Classes/"
}
},
"autoload-dev" : {
"psr-4" : {
"Thucke\\ThRating\\Tests\\" : "Tests/"
}
},
"config": {
"bin-dir": ".Build/bin",
"discard-changes": true,
"optimize-autoloader": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
},
"typo3/cms": {
"extension-key": "th_rating",
"web-dir": ".Build/public",
"app-dir": ".Build"
},
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"thucke:test:php:lint": [
"phplint"
],
"thucke:test:php:unit": [
"phpunit -c Tests/Build/UnitTests.xml"
],
"thucke:test:php:functional": [
"phpunit -c Tests/Build/FunctionalTests.xml"
],
"thucke:test:php:acceptance": [
"@putenv IS_T3ACCEPTANCE_RUN=true",
"cp -R Tests/Acceptance/_data/typo3conf .Build/public/",
"cp -R Tests/Acceptance/_data/config .Build/",
"typo3cms install:generatepackagestates",
"codecept run acceptance --env=${CODECEPTION_ENV} -d -c Tests/Build/AcceptanceTests.yml --html"
],
"thucke:typo3:export": [
"typo3cms configuration:show DB",
"typo3cms cache:flush",
"typo3cms database:export -c Default >Tests/Acceptance/_data/ddev.sql",
"typo3cms configuration:show DB",
"echo 'Finished'"
],
"thucke:typo3:recreateddevdb:10.4": [
"cat Tests/Acceptance/_data/dbcreate_${typo3DatabaseName}.sql Tests/Acceptance/_data/t3acceptance_^10.4.sql | mysql -u${typo3DatabaseUsername} -p${typo3DatabasePassword} -h${typo3DatabaseHost} mysql",
"typo3cms cache:flush",
"typo3cms configuration:show DB",
"echo 'Finished'"
],
"thucke:typo3:recreateddevdb:9.5": [
"cat Tests/Acceptance/_data/dbcreate_${typo3DatabaseName}.sql Tests/Acceptance/_data/t3acceptance_^9.5.sql | mysql -u${typo3DatabaseUsername} -p${typo3DatabasePassword} -h${typo3DatabaseHost} mysql",
"typo3cms cache:flush",
"typo3cms configuration:show DB",
"echo 'Finished'"
],
"thucke:test:php:unit:cover": [
"Composer\\Config::disableProcessTimeout",
"mkdir -p var/log/junit/ && phpunit -c Build/UnitTests.xml --log-junit var/log/junit/phpunit.xml --coverage-clover var/log/junit/coverage-unit.xml"
],
"thucke:test:php:functional:cover": [
"Composer\\Config::disableProcessTimeout",
"mkdir -p var/log/junit/ && .Build/bin/phpunit -c Build/FunctionalTests.xml --log-junit var/log/junit/phpunit.xml --coverage-clover var/log/junit/coverage-functional.xml"
],
"thucke:test": [
"@thucke:test:php:lint",
"@thucke:test:php:unit"
],
"thucke:cgl": [
"php-cs-fixer --using-cache=yes --diff -v fix"
],
"thucke:phpstan:classes": [
"TYPO3_CONTEXT=Development; phpstan analyse Classes"
],
"thucke:phpstan:tests": [
"phpstan analyze Tests"
],
"thucke:generate-documentation": [
"source <(docker run --rm t3docs/render-documentation show-shell-commands) && dockrun_t3rd makehtml"
],
"post-autoload-dump": [
"mkdir -p .Build/public/typo3conf/ext/",
"[ -L .Build/public/typo3conf/ext/th_rating ] || ln -snvf ../../../../. .Build/public/typo3conf/ext/th_rating",
"[ -f .Build/public/.htaccess ] || cp .ddev/homeadditions/.htaccess .Build/public",
"TYPO3\\TestingFramework\\Composer\\ExtensionTestEnvironment::prepare"
]
},
"suggest": {
"typo3/cms-fluid-styled-content": "Content rendering definition based on fluid"
},
"require" : {
"php" : ">=7.3 <7.5",
"ext-json": "*",
"ext-pdo": "*",
"typo3/cms-backend": ">=9.5 <11",
"typo3/cms-core" : ">=9.5 <11",
"typo3/cms-extbase": ">=9.5 <11",
"typo3/cms-extensionmanager": "^9.5 || ^10.4",
"typo3/cms-fluid" : ">=9.5 <11",
"typo3/cms-felogin": ">=9.5 <11",
"typo3/cms-frontend" : ">=9.5 <11",
"typo3/cms-install": "^9.5 || ^10.4",
"typo3fluid/fluid": "^2.6",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"typo3/cms-base-distribution" : ">=9.5 <11",
"friendsofphp/php-cs-fixer": "^2.18",
"helhum/typo3-console": "*",
"typo3/coding-standards": "^0.3.0",
"typo3/testing-framework": "^4.15 || ^5.0 || ^6.4",
"typo3/tailor": "^1.3",
"overtrue/phplint": "^2.3",
"jangregor/phpstan-prophecy": "^0.8.0",
"phpstan/extension-installer": "^1.1",
"saschaegerer/phpstan-typo3": "^0.13.1",
"roave/security-advisories": "dev-latest",
"codeception/codeception": "^4.1",
"phpspec/prophecy-phpunit": "*",
"phpunit/phpunit": "^7",
"codeception/module-asserts": "^1.3",
"codeception/module-webdriver": "^1.2",
"codeception/module-db": "^1.1",
"codeception/module-phpbrowser": "^1.0"
},
"replace" : {
"thucke/th-rating" : "self.version"
}
}