-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
111 lines (111 loc) · 3.71 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
{
"name": "sourcebroker/t3api",
"description": "REST API for your TYPO3 project. Config with annotations, build in filtering, pagination, typolinks, image processing, serialization contexts, responses in Hydra/JSON-LD format.",
"license": [
"GPL-2.0-or-later"
],
"type": "typo3-cms-extension",
"authors": [
{
"name": "Inscript Team",
"role": "Developer"
}
],
"require": {
"php": "^8.1.0",
"ext-json": "*",
"ext-pdo": "*",
"ext-tokenizer": "*",
"doctrine/annotations": "^1.13.3 || ^2.0",
"goldspecdigital/oooas": "^2.4",
"jms/serializer": "^3.1",
"phpdocumentor/reflection-docblock": "^5.2",
"symfony/cache": "^6.4 || ^7.0",
"symfony/expression-language": "^6.4 || ^7.0",
"symfony/http-foundation": "^6.4 || ^7.0",
"symfony/mime": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0",
"symfony/psr-http-message-bridge": "^6.4 || ^7.0",
"symfony/routing": "^6.4 || ^7.0",
"typo3/cms-core": "^12.4.16 || ^13.3",
"typo3/cms-extbase": "^12.4.16 || ^13.3",
"typo3/cms-frontend": "^12.4.16 || ^13.3"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.29.0",
"friendsofphp/php-cs-fixer": "^3.57.1",
"phpstan/extension-installer": "^1.2.0",
"phpstan/phpstan": "^1.10.67",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/phpstan-strict-rules": "^1.5.5",
"phpunit/phpunit": "^10.5.17",
"saschaegerer/phpstan-typo3": "^1.10.0",
"seld/jsonlint": "^1.10.2",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
"typo3/cms-install": "^12.4.16 || ^13.3",
"typo3/coding-standards": "^0.8",
"typo3/testing-framework": "^8.2.1",
"webmozart/assert": "^1.11.0"
},
"replace": {
"typo3-ter/t3api": "self.version"
},
"autoload": {
"psr-4": {
"SourceBroker\\T3api\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"SourceBroker\\T3api\\Tests\\": "Tests"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"bin-dir": ".Build/bin",
"vendor-dir": ".Build/vendor"
},
"extra": {
"typo3/cms": {
"extension-key": "t3api",
"web-dir": ".Build/public"
}
},
"scripts": {
"ci": [
"@ci:composer:normalize",
"@ci:yaml:lint",
"@ci:json:lint",
"@ci:php:lint",
"@ci:php:cs-fixer",
"@ci:php:stan",
"@ci:tests:unit",
"@ci:tests:functional",
"@ci:tests:postman"
],
"ci:composer:normalize": "@composer normalize --dry-run",
"ci:json:lint": "find ./composer.json ./Resources ./Configuration -name '*.json' | xargs -r php .Build/bin/jsonlint -q",
"ci:php:cs-fixer": ".Build/bin/php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --using-cache no --diff",
"ci:php:lint": "find . -name '*.php' -not -path './.Build/*' -not -path './.cache/*' -not -path './.ddev/*' -not -path './.test/*' -not -path './.Documentation/*' -not -path './.Documentation-GENERATED-temp/*' -print0 | xargs -0 -n 1 -P 4 php -l > /dev/null",
"ci:php:stan": ".Build/bin/phpstan --no-progress",
"ci:tests:create-directories": "mkdir -p .Build/public/typo3temp/var/tests",
"ci:tests:functional": [
"@ci:tests:create-directories",
"typo3DatabaseHost=db typo3DatabaseUsername=root typo3DatabasePassword=root typo3DatabaseName=db .Build/bin/phpunit -c ./Build/phpunit/FunctionalTests.xml"
],
"ci:tests:postman": "bash ./Build/postman/run.sh",
"ci:tests:unit": ".Build/bin/phpunit -c ./Build/phpunit/UnitTests.xml",
"ci:yaml:lint": "find ./Resources ./Configuration -regextype egrep -regex '.*.ya?ml$' | xargs -r php .Build/bin/yaml-lint",
"fix": [
"@fix:php:cs-fixer",
"@fix:composer:normalize"
],
"fix:composer:normalize": "@composer normalize",
"fix:php:cs-fixer": ".Build/bin/php-cs-fixer fix --config .php-cs-fixer.php"
}
}