forked from TYPO3-Headless/headless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
117 lines (117 loc) · 3.25 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
{
"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": "^11.4",
"typo3/cms-install": "^11.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.15.0",
"friendsofphp/php-cs-fixer": "^3.1",
"helmich/typo3-typoscript-lint": "^2.1",
"justinrainbow/json-schema": "^5.2",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.99",
"saschaegerer/phpstan-typo3": "^0.13.3",
"seld/jsonlint": "^1.8",
"symfony/yaml": "^5.3",
"typo3/testing-framework": "^6"
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"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"
}
},
"scripts": {
"post-autoload-dump": [
"TYPO3\\TestingFramework\\Composer\\ExtensionTestEnvironment::prepare"
],
"ci:composer:normalize": "@composer normalize --dry-run",
"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"
],
"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 --configuration Tests/Functional/phpunit.xml"
],
"ci:test:unit": [
".Build/vendor/bin/phpunit --configuration 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"
],
"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"
]
}
}