forked from xperseguers/t3ext-oidc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
79 lines (79 loc) · 1.99 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
{
"name": "causal/oidc",
"type": "typo3-cms-extension",
"description": "This extension uses OpenID Connect to authenticate users.",
"keywords": [
"TYPO3 CMS",
"OpenID",
"OIDC",
"Authentication"
],
"homepage": "https://github.com/xperseguers/t3ext-oidc",
"support": {
"issues": "https://github.com/xperseguers/t3ext-oidc/issues"
},
"authors": [
{
"name": "Xavier Perseguers",
"email": "[email protected]",
"homepage": "https://www.causal.ch",
"role": "Developer"
}
],
"license": "GPL-2.0-or-later",
"require": {
"php": ">= 7.4.0, <= 8.3.99",
"ext-json": "*",
"typo3/cms-core": "^11.5",
"typo3/cms-frontend": "^11.5",
"typo3/cms-felogin": "^11.5",
"league/oauth2-client": "^2.7"
},
"autoload": {
"psr-4": {
"Causal\\Oidc\\": "Classes/"
}
},
"replace": {
"typo3-ter/oidc": "self.version"
},
"scripts": {
"extension-create-libs": [
"mkdir -p Libraries/temp",
"[ -f $HOME/.composer/vendor/bin/phar-composer ] || composer global require clue/phar-composer",
"if [ ! -f Libraries/league-oauth2-client.phar ]; then cd Libraries/temp && composer require league/oauth2-client=^2.7 && composer config classmap-authoritative true && composer config prepend-autoloader false && composer dump-autoload; fi",
"[ -f Libraries/league-oauth2-client.phar ] || $HOME/.composer/vendor/bin/phar-composer build Libraries/temp/ Libraries/league-oauth2-client.phar",
"chmod -x Libraries/*.phar",
"rm -rf Libraries/temp"
],
"extension-build": [
"@extension-create-libs"
],
"extension-release": [
"@extension-build",
"rm -rf Tests/",
"rm .gitattributes",
"rm .gitignore"
],
"extension-clean": [
"rm -rf Libraries"
]
},
"extra": {
"branch-alias": {
"dev-master": "2.1.x-dev"
},
"typo3/cms": {
"app-dir": ".Build",
"web-dir": ".Build/web",
"extension-key": "oidc"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true
}
}
}