forked from buepro/typo3-easyconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
149 lines (149 loc) · 4.3 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
147
148
149
{
"name": "buepro/typo3-easyconf",
"description": "Provides a module to easily configure main aspects from a website.",
"license": [
"GPL-2.0-or-later"
],
"type": "typo3-cms-extension",
"keywords": [
"TYPO3 CMS",
"typoscript",
"site",
"configuration",
"constants",
"setup"
],
"authors": [
{
"name": "Roman Büchler",
"email": "rb@buechler.pro",
"homepage": "https://www.buechler.pro/",
"role": "Developer"
}
],
"homepage": "https://github.com/buepro/typo3-easyconf",
"require": {
"typo3/cms-core": "^13.2 || dev-main"
},
"require-dev": {
"buepro/typo3-pizpalue": "^16.0 || ^17.0@dev",
"ergebnis/composer-normalize": "^2.43.0",
"friendsofphp/php-cs-fixer": "^3.0.0",
"friendsoftypo3/phpstan-typo3": "^0.9.0",
"overtrue/phplint": "^9.0.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.8.5",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpstan/phpstan-strict-rules": "^1.4.3",
"typo3/cms-base-distribution": "^13.2 || dev-main",
"typo3/cms-lowlevel": "^13.2 || dev-main",
"typo3/cms-recycler": "^13.2 || dev-main",
"typo3/testing-framework": "^8.0.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Buepro\\Easyconf\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Buepro\\Easyconf\\Tests\\": "Tests/"
}
},
"config": {
"bin-dir": ".build/bin",
"optimize-autoloader": true,
"sort-packages": true,
"vendor-dir": ".build/vendor",
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"ergebnis/composer-normalize": true
}
},
"extra": {
"branch-alias": {
"dev-main": "3.0.x-dev"
},
"typo3/cms": {
"app-dir": ".build",
"extension-key": "easyconf",
"web-dir": ".build/public"
}
},
"scripts": {
"post-autoload-dump": [
"[ -d .build/public/_assets ] || mkdir -p .build/public/typo3conf/ext/",
"[ -d .build/public/_assets ] || [ -L .build/public/typo3conf/ext/easyconf ] || ln -snvf ../../../../. .build/public/typo3conf/ext/easyconf",
"[ -d .build/public/_assets ] || mkdir -p .build/config/sites/default",
"[ -d .build/public/_assets ] || [ -L .build/config/sites/default/config.yaml ] || ln -svf ../../../../Build/site/config.yaml .build/config/sites/default/config.yaml",
"[ ! -d .build/public/_assets ] || mkdir -p config/sites/default",
"[ ! -d .build/public/_assets ] || [ -L config/sites/default/config.yaml ] || ln -svf ../../../Build/site/config.yaml config/sites/default/config.yaml"
],
"ci": [
"@ci:static",
"@ci:tests"
],
"ci:composer:normalize": "@composer normalize --dry-run",
"ci:php:cs": [
"php-cs-fixer --diff -v --dry-run fix"
],
"ci:php:lint": [
"phplint"
],
"ci:php:stan": [
"phpstan analyze --configuration Build/phpstan.neon"
],
"ci:static": [
"@ci:php:cs",
"@ci:php:lint",
"@ci:php:stan"
],
"ci:tests": [
"@ci:tests:unit"
],
"ci:tests:unit": [
"phpunit -c Build/phpunit-unit.xml"
],
"ddev:install": [
"composer install",
"ddev start",
"ddev composer site:install",
"ddev launch typo3",
"echo '\\033[0;32mINFO: Login to BE using admin/admin\\033[0m'"
],
"ddev:uninstall": [
"ddev composer typo3cms:database:export",
"ddev delete",
"rm -rf .build/"
],
"fix": [
"@fix:composer:normalize",
"@fix:php:cs"
],
"fix:composer:normalize": "@composer normalize",
"fix:php:cs": [
"php-cs-fixer --diff -v fix"
],
"fix:php:stan": [
"phpstan analyze --level max --configuration Build/phpstan.neon --generate-baseline Build/phpstan-baseline.neon"
],
"site:install": [
"@typo3cms:install:setup",
"@typo3cms:database:import"
],
"typo3cms:database:export": [
".build/bin/typo3cms database:export -c Default -e 'cf_*' -e 'cache_*' -e '[bf]e_sessions' -e sys_log | gzip -c > Build/site/db12.sql.gz",
"ls -l Build/site/db12.sql.gz"
],
"typo3cms:database:import": [
"gzip -cdk Build/site/db12.sql.gz | .build/bin/typo3cms database:import"
],
"typo3cms:install:setup": [
".build/bin/typo3cms install:setup --no-interaction --use-existing-database --database-host-name='db' --database-name='db' --database-user-name='db' --database-user-password='db' --admin-user-name='admin' --admin-password='admin123ADMIN:)' --site-name='easyconf dev' --web-server-config='apache'"
]
}
}