-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
133 lines (133 loc) · 3.86 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
{
"name": "buepro/typo3-timelog",
"description": "TYPO3 extension to increase efficiency and transparency of work by continuously collecting work information and communicate it to customers.",
"license": [
"GPL-2.0-or-later"
],
"type": "typo3-cms-extension",
"keywords": [
"TYPO3",
"timelog"
],
"authors": [
{
"name": "Roman Büchler",
"email": "rb@buechler.pro",
"homepage": "https://www.buechler.pro/",
"role": "Developer"
}
],
"homepage": "https://github.com/buepro/typo3-timelog/",
"require": {
"buepro/typo3-pvh": "^2.0",
"hashids/hashids": "~5.0.2",
"league/commonmark": "^2.4.0",
"typo3/cms-core": "^12.4"
},
"require-dev": {
"buepro/typo3-pizpalue": "^15.2.0",
"ergebnis/composer-normalize": "^2.31.0",
"friendsofphp/php-cs-fixer": "^3.0.0",
"friendsoftypo3/phpstan-typo3": "^0.9.0",
"overtrue/phplint": "^9.0.4",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpstan/phpstan-strict-rules": "^1.4.3",
"typo3/cms-base-distribution": "^12.4",
"typo3/cms-impexp": "^12.4",
"typo3/cms-lowlevel": "^12.4",
"typo3/cms-recycler": "^12.4"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Buepro\\Timelog\\": "Classes/"
}
},
"config": {
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"ergebnis/composer-normalize": true
},
"bin-dir": ".build/bin",
"optimize-autoloader": true,
"sort-packages": true,
"vendor-dir": ".build/vendor"
},
"extra": {
"branch-alias": {
"dev-main": "2.0.x-dev"
},
"typo3/cms": {
"extension-key": "timelog",
"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/timelog ] || ln -snvf ../../../../. .build/public/typo3conf/ext/timelog",
"if [ ${IS_DDEV_PROJECT:-0} = \"true\" ]; then mkdir -p config/sites; fi",
"if [ ${IS_DDEV_PROJECT:-0} = \"true\" ] && [ ! -e \"config/sites/development\" ]; then ln -svf ../../Build/site/development config/sites/development; fi"
],
"ci": [
"@ci:static"
],
"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:composer:normalize",
"@ci:php:cs",
"@ci:php:lint",
"@ci:php:stan"
],
"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:php:stan"
],
"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/db11.sql.gz",
"ls -l Build/site/db11.sql.gz"
],
"typo3cms:database:import": [
"gzip -cdk Build/site/db11.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='timelog dev' --web-server-config='apache'"
]
}
}