-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
125 lines (125 loc) · 4.02 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
{
"name": "typo3headless/typo3-ai",
"description": "TYPO3 AI is extension which utilizes ChatGPT to accelerate the translation process in TYPO3 CMS by leveraging Artificial Intelligence powerful natural language processing capabilities.",
"license": "GPL-2.0-or-later",
"type": "typo3-cms-extension",
"authors": [
{
"name": "Łukasz Uznański",
"homepage": "https://macopedia.com",
"role": "Head"
},
{
"name": "Oskar Dydo",
"homepage": "https://macopedia.com",
"role": "Developer"
}
],
"homepage": "https://extensions.typo3.org/extension/typo3_ai/",
"require": {
"php": "~8.1",
"openai-php/client": "^0.8.1",
"typo3/cms-core": "^12.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.37.0",
"friendsofphp/php-cs-fixer": "^3.14.1",
"helmich/typo3-typoscript-lint": "^3.1.0",
"php-coveralls/php-coveralls": "^2.5.3",
"phpstan/extension-installer": "^1.3.0",
"phpstan/phpstan": "^1.10.34",
"phpstan/phpstan-phpunit": "^1.3.11",
"phpstan/phpstan-strict-rules": "^1.5.1",
"saschaegerer/phpstan-typo3": "^1.9.0",
"symfony/yaml": "^5.4 || ^6.1",
"typo3/coding-standards": "^0.7.1",
"typo3/testing-framework": "^6"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"TYPO3Headless\\Typo3Ai\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"TYPO3Headless\\Typo3Ai\\Tests\\": "Tests"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"php-http/discovery": true
},
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"typo3/cms": {
"app-dir": ".Build",
"extension-key": "typo3_ai",
"web-dir": ".Build/public"
}
},
"scripts": {
"post-autoload-dump": [
"@link-extension"
],
"ci": [
"@ci:static"
],
"ci:composer:normalize": "@composer normalize --no-check-lock",
"ci:composer:psr-verify": "@composer dumpautoload --optimize --strict-psr",
"ci:php": [
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:stan"
],
"ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --using-cache no --diff",
"ci:php:lint": "find .*.php *.php Classes Configuration -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l",
"ci:php:stan": "phpstan --no-progress",
"ci:static": [
"@ci:composer:normalize",
"@ci:json:lint",
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:stan",
"@ci:yaml:lint"
],
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' -regextype egrep -regex '.*.ya?ml$' | xargs -r 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": [
"@fix:php:cs"
],
"fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php",
"link-extension": [
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
],
"phpstan:baseline": ".Build/vendor/bin/phpstan --generate-baseline=phpstan-baseline.neon",
"prepare-release": [
"rm .gitignore",
"rm -rf .Build",
"rm -rf .ddev",
"rm -rf .github",
"rm -rf .gitlab",
"rm .editorconfig",
"rm .gitattributes",
"rm .php-cs-fixer.php",
"rm phive.xml",
"rm phpstan-baseline.neon",
"rm phpstan.neon",
"rm phpcs.xml"
]
}
}