forked from macopedia/t3ext-oidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
77 lines (77 loc) · 2.17 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
{
"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.0.0, <= 7.3.99",
"typo3/cms-core": "^8.7 || ^9.5",
"league/oauth2-client": "^2.0"
},
"autoload": {
"psr-4": {
"Causal\\Oidc\\": "Classes/"
}
},
"replace": {
"typo3-ter/oidc": "self.version"
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin"
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/oidc ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/oidc"
],
"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.0 && 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": "0.5.x-dev"
},
"typo3/cms": {
"extension-key": "oidc",
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web"
}
}
}