-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
102 lines (102 loc) · 2.87 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
{
"name": "ianm/twofactor",
"description": "2FA for Flarum",
"keywords": [
"flarum"
],
"type": "flarum-extension",
"license": "MIT",
"support": {
"issues": "https://github.com/imorland/flarum-ext-twofactor/issues",
"source": "https://github.com/imorland/flarum-ext-twofactor",
"forum": "https://discuss.flarum.org/d/33339"
},
"funding": [
{
"url": "https://www.buymeacoffee.com/ianm1"
}
],
"require": {
"php": "^8.1",
"flarum/core": "^1.8.3",
"spomky-labs/otphp": "^11.2",
"endroid/qr-code": "^4.8"
},
"authors": [
{
"name": "IanM",
"email": "[email protected]",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"IanM\\TwoFactor\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "2FA",
"category": "feature",
"icon": {
"name": "fas fa-shield-alt",
"color": "#fff",
"backgroundColor": "#0072e3"
},
"optional-dependencies": [
"blomstra/turnstile"
]
},
"flarum-cli": {
"modules": {
"admin": true,
"forum": true,
"js": true,
"jsCommon": true,
"css": true,
"locale": true,
"gitConf": true,
"githubActions": true,
"prettier": true,
"typescript": true,
"bundlewatch": false,
"backendTesting": true,
"editorConfig": true,
"styleci": true
}
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"IanM\\TwoFactor\\Tests\\": "tests/"
}
},
"scripts": {
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit -c tests/phpunit.unit.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": "@php tests/integration/setup.php",
"analyse:phpstan": "phpstan analyse",
"clear-cache:phpstan": "phpstan clear-result-cache"
},
"scripts-descriptions": {
"test": "Runs all tests.",
"test:unit": "Runs all unit tests.",
"test:integration": "Runs all integration tests.",
"test:setup": "Sets up a database for use with integration tests. Execute this only once.",
"analyse:phpstan": "Run static analysis"
},
"require-dev": {
"flarum/testing": "^1.8.0",
"fof/oauth": "*",
"flarum/phpstan": "^1.8",
"flarum/gdpr": "dev-main",
"sycho/flarum-private-facade": "^0.1.16",
"blomstra/turnstile": "*"
}
}