forked from FriendsOfTYPO3/tea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
108 lines (108 loc) · 3.47 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
{
"name": "ttn/tea",
"description": "TYPO3 example extension for unit testing and best practices",
"type": "typo3-cms-extension",
"keywords": [
"typo3",
"example",
"extension",
"tdd",
"phpunit",
"unit testing",
"best practices"
],
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Oliver Klee",
"email": "[email protected]",
"homepage": "https://www.oliverklee.de",
"role": "developer"
}
],
"support": {
"issues": "https://github.com/typo3-trainer-network/tea/issues",
"source": "https://github.com/typo3-trainer-network/tea"
},
"require": {
"php": "~7.2 || ~7.3 || ~7.4",
"typo3/cms-core": "^9.5.4 || ^10.2",
"typo3/cms-extbase": "^9.5 || ^10.2",
"typo3/cms-fluid": "^9.5 || ^10.2",
"typo3/cms-frontend": "^9.5 || ^10.2"
},
"require-dev": {
"codeception/codeception": "^3.0.3",
"friendsofphp/php-cs-fixer": "^2.16.1",
"helhum/typo3-composer-setup": "^0.5.4",
"helmich/typo3-typoscript-lint": "^1.5.0",
"nimut/testing-framework": "^4.1.5",
"phpunit/phpunit": "^7.5.14",
"squizlabs/php_codesniffer": "^3.5.3",
"typo3/cms-fluid-styled-content": "^9.5"
},
"replace": {
"typo3-ter/tea": "self.version"
},
"autoload": {
"psr-4": {
"TTN\\Tea\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"TTN\\Tea\\Tests\\": "Tests/"
}
},
"prefer-stable": true,
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"scripts": {
"ci:php:lint": "find *.php Classes/ Configuration/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:php:sniff": "phpcs Classes Tests",
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript/",
"ci:tests:unit": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/",
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';",
"ci:tests": [
"@ci:tests:unit",
"@ci:tests:functional"
],
"ci:dynamic": [
"@ci:tests"
],
"ci:static": [
"@ci:php:lint",
"@ci:php:sniff",
"@ci:ts:lint"
],
"ci": [
"@ci:static"
],
"link-extension": [
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
],
"fix:php-cs": "php-cs-fixer fix",
"fix:php-sniff": "phpcbf Classes Tests",
"post-autoload-dump": [
"@link-extension"
]
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
},
"typo3/cms": {
"extension-key": "tea",
"web-dir": ".Build/public"
},
"helhum/typo3-console": {
"install-extension-dummy": "0"
}
}
}