forked from TYPO3-Headless/headless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
146 lines (146 loc) · 4.41 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
{
"name": "friendsoftypo3/headless",
"type": "typo3-cms-extension",
"description": "This extension provides way to output content from TYPO3 in JSON format.",
"keywords": [
"TYPO3",
"headless",
"pwa",
"json"
],
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Tymoteusz Motylewski",
"role": "Head"
},
{
"name": "Łukasz Uznański",
"role": "Developer"
},
{
"name": "TYPO3 PWA Initiative",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"ext-json": "*",
"typo3/cms-core": "^12.4",
"typo3/cms-install": "^12.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.15.0",
"friendsofphp/php-cs-fixer": "^3.1",
"helmich/typo3-typoscript-lint": "^v3",
"justinrainbow/json-schema": "^5.2",
"php-coveralls/php-coveralls": "^2.5.2",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.9",
"phpunit/phpcov": "^8.2",
"saschaegerer/phpstan-typo3": "^1.1",
"seld/jsonlint": "^1.8",
"symfony/yaml": "^6.1",
"typo3/cms-form": "^12.4",
"typo3/testing-framework": "^7.0",
"typo3/coding-standards": "^0.7.1"
},
"conflict": {
"typo3/cms-core": "<12.4.3"
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"vendor-dir": ".Build/vendor",
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": true
}
},
"extra": {
"typo3/cms": {
"app-dir": ".Build",
"extension-key": "headless",
"web-dir": ".Build/public"
}
},
"autoload": {
"psr-4": {
"FriendsOfTYPO3\\Headless\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"TYPO3\\JsonResponse\\": ".Build/vendor/typo3/testing-framework/Resources/Core/Functional/Extensions/json_response/Classes",
"FriendsOfTYPO3\\Headless\\Tests\\": "Tests"
}
},
"scripts": {
"ci:composer:normalize": "@composer normalize --dry-run",
"ci:coverage": [
"@ci:coverage:unit",
"@ci:coverage:functional"
],
"ci:coverage:functional": [
"@coverage:create-directories",
".Build/vendor/bin/phpunit -c Tests/Functional/phpunit.xml --whitelist Classes --coverage-php=.Build/coverage/functional.cov Tests/Functional"
],
"ci:coverage:merge": [
"@coverage:create-directories",
"@php .Build/vendor/bin/phpcov merge --clover=./build/logs/clover.xml ./.Build/coverage/"
],
"ci:coverage:unit": [
"@coverage:create-directories",
".Build/vendor/bin/phpunit -c Tests/Unit/phpunit.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit"
],
"coverage:create-directories": "mkdir -p build/logs .Build/coverage",
"ci:json:lint": [
"find . -name '*.json' -not -path '*.Build/vendor*' | xargs .Build/vendor/bin/jsonlint -q"
],
"ci:php:cs-fixer": [
"php-cs-fixer fix -v --dry-run --using-cache no --diff --config .php-cs-fixer.php"
],
"ci:php:lint": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:php:stan": "phpstan --no-progress",
"ci:test": [
"@ci:phplint",
"@ci:php:cs-fixer",
"@ci:test:unit",
"@ci:test:functional"
],
"ci:test:functional": [
".Build/vendor/bin/phpunit -c Tests/Functional/phpunit.xml"
],
"ci:test:unit": [
".Build/vendor/bin/phpunit -c Tests/Unit/phpunit.xml"
],
"ci:ts:lint": [
".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript"
],
"ci:yaml:lint": "find . ! -path '*.Build/*' -name '*.yml' | xargs php ./.Build/vendor/bin/yaml-lint",
"docs:generate": [
"docker run --rm t3docs/render-documentation show-shell-commands > tempfile.sh; echo 'dockrun_t3rd makehtml' >> tempfile.sh; bash tempfile.sh; rm tempfile.sh"
],
"fix:php:cs-fixer": [
"php-cs-fixer fix -v --using-cache no --config .php-cs-fixer.php"
],
"prepare-release": [
"rm .gitignore",
"rm -rf .Build",
"rm -rf .github",
"rm -rf Tests",
"rm .editorconfig",
"rm .gitattributes",
"rm .php-cs-fixer.php",
"rm CONTRIBUTING.rst"
]
}
}