Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
122 lines (122 loc) · 4.38 KB
/
Copy pathcomposer.json
File metadata and controls
122 lines (122 loc) · 4.38 KB
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
{
"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",
"jms/serializer": "^3.1",
"phpdocumentor/reflection-docblock": "^5.2 || ^6.0",
"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.18 || ^13.3 || ^14.0",
"typo3/cms-extbase": "^12.4.18 || ^13.3 || ^14.0",
"typo3/cms-frontend": "^12.4.18 || ^13.3 || ^14.0"
},
"require-dev": {
"composer/class-map-generator": "^1.7",
"ergebnis/composer-normalize": "^2.47.0",
"friendsofphp/php-cs-fixer": "^3.75.0",
"phpstan/extension-installer": "^1.2.0",
"phpstan/phpstan": "^1.12.26 || ^2.1",
"saschaegerer/phpstan-typo3": "~1.10.2 || ^3.0",
"seld/jsonlint": "^1.11.0",
"symfony/yaml": "^6.0 || ^7.0",
"typo3/cms-install": "^12.4.18 || ^13.3 || ^14.0",
"typo3/coding-standards": "^0.8",
"typo3/testing-framework": "^8.2.1 || ^9.5"
},
"replace": {
"typo3-ter/t3api": "self.version"
},
"autoload": {
"psr-4": {
"SourceBroker\\T3api\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"SourceBroker\\T3api\\Tests\\": "Tests",
"T3apiTests\\FunctionalTest\\": "Tests/Functional/Fixtures/Extensions/t3api_functional_test/Classes"
}
},
"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": {
"Package": {
"providesPackages": {}
},
"extension-key": "t3api",
"version": "5.0.0",
"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:php:rector",
"@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": "PHP_CS_FIXER_IGNORE_ENV=1 .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/*' -not -path './.worktrees/*' -not -path './Build/rector/vendor/*' -print0 | xargs -0 -n 1 -P 4 php -l > /dev/null",
"ci:php:rector": [
"@composer install --working-dir=Build/rector --no-progress --no-interaction --quiet",
"Build/rector/vendor/bin/rector process --config Build/rector/rector.php --dry-run --no-progress-bar"
],
"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:rector",
"@fix:php:cs-fixer",
"@fix:composer:normalize"
],
"fix:composer:normalize": "@composer normalize",
"fix:php:cs-fixer": "PHP_CS_FIXER_IGNORE_ENV=1 .Build/bin/php-cs-fixer fix --config .php-cs-fixer.php",
"fix:php:rector": [
"@composer install --working-dir=Build/rector --no-progress --no-interaction --quiet",
"Build/rector/vendor/bin/rector process --config Build/rector/rector.php --no-progress-bar"
]
}
}