-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
88 lines (88 loc) · 2.44 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
{
"name": "ffans/geetest",
"description": "Bring GeeTest CAPTCHA to your forum.",
"keywords": [
"flarum",
"CAPTCHA",
"security",
"geetest"
],
"type": "flarum-extension",
"license": "MIT",
"require": {
"flarum/core": "^1.2.0",
"php": "^7.4|^8.0"
},
"authors": [
{
"name": "Golden",
"email": "[email protected]",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"FFans\\GeeTest\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "FFans GeeTest",
"category": "",
"icon": {
"image": "icon.svg",
"backgroundColor": "#357eff",
"backgroundSize": "80%",
"backgroundPosition": "center",
"backgroundRepeat": "no-repeat"
}
},
"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": {
"FFans\\GeeTest\\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.0.0",
"flarum/phpstan": "1.8"
}
}