-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
148 lines (148 loc) · 5.29 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
{
"name": "dmk/t3rest",
"description": "Provides a REST interface for TYPO3.",
"type": "typo3-cms-extension",
"keywords": [
"TYPO3 CMS",
"rest",
"router"
],
"homepage": "http://www.dmk-ebusiness.de/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "René Nitzsche",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Michael Wagner",
"email": "[email protected]",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"source": "https://github.com/DMKEBUSINESSGMBH/t3rest",
"issues": "https://github.com/DMKEBUSINESSGMBH/t3rest/issues"
},
"replace": {
"typo3-ter/t3rest": "self.version"
},
"require": {
"php": "^7.4 || ^8.0",
"typo3/cms-core": "^11.5.7 || ^12.4.7",
"digedag/rn-base": "^1.17"
},
"require-dev": {
"digedag/rn-base": "@dev",
"friendsofphp/php-cs-fixer": "^3.3",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpcompatibility/php-compatibility": "^9.3.5",
"phpstan/phpstan": "^1.1",
"saschaegerer/phpstan-typo3": "^1.9",
"typo3/testing-framework": "^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"DMK\\T3rest\\": "Classes"
},
"classmap": [
"Classes/"
]
},
"autoload-dev": {
"psr-4": {
"DMK\\T3rest\\Tests\\": "Tests"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"lint:php": [
"[ -e .Build/bin/parallel-lint ] || composer update",
".Build/bin/parallel-lint ./Classes ./Tests ./Configuration"
],
"lint": [
"@lint:php"
],
"test:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update --ansi",
".Build/bin/php-cs-fixer fix -v --dry-run --diff --ansi"
],
"test:phpcompatibility": [
"@test:phpcompatibility:7.4",
"@test:phpcompatibility:8.0",
"@test:phpcompatibility:8.1",
"@test:phpcompatibility:8.2",
"@test:phpcompatibility:8.3"
],
"test:phpcompatibility:7.4": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,./Resources/Private/PHP/Composer/respect/rest/tests/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4"
],
"test:phpcompatibility:8.0": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,./Resources/Private/PHP/Composer/respect/rest/tests/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0"
],
"test:phpcompatibility:8.1": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,./Resources/Private/PHP/Composer/respect/rest/tests/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1"
],
"test:phpcompatibility:8.2": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,./Resources/Private/PHP/Composer/respect/rest/tests/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2"
],
"test:phpcompatibility:8.3": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,./Resources/Private/PHP/Composer/respect/rest/tests/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.3"
],
"test:phpstan": [
"[ -e .Build/bin/phpstan ] || composer update --ansi",
".Build/bin/phpstan analyse -c phpstan.neon --memory-limit=512M --ansi"
],
"test:phpunit": [
"[ -e .Build/bin/phpunit ] || composer update --ansi",
"export TYPO3_PATH_APP=$PWD/.Build && export TYPO3_PATH_WEB=$PWD/.Build/Web && .Build/bin/phpunit -c phpunit.xml.dist --colors=always"
],
"test": [
"@test:phpcs",
"@test:phpcompatibility",
"@test:phpstan",
"@test:phpunit"
],
"fix:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update --ansi",
".Build/bin/php-cs-fixer fix -v"
],
"fix": [
"@fix:phpcs"
],
"runqa": [
"@fix",
"@lint",
"@test"
]
},
"extra": {
"branch-alias" : {
"dev-12.4": "12.0.x-dev"
},
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "t3rest",
"web-dir": ".Build/Web",
"app-dir": ".Build"
}
}
}