-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
89 lines (89 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
89
{
"name": "fof/filter",
"description": "Filter out words and phrases from forum posts",
"type": "flarum-extension",
"keywords": [
"moderation"
],
"license": "MIT",
"authors": [
{
"name": "Charlie K",
"email": "[email protected]"
},
{
"name": "Katos",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/friendsofflarum/filter/issues",
"source": "https://github.com/friendsofflarum/filter",
"forum": "https://discuss.flarum.org/d/5131"
},
"homepage": "https://friendsofflarum.org",
"funding": [
{
"type": "website",
"url": "https://opencollective.com/fof/donate"
}
],
"require": {
"php": "^7.4 || ^8.0",
"flarum/core": "^1.2.0",
"flarum/approval": "*",
"flarum/flags": "*"
},
"autoload": {
"psr-4": {
"FoF\\Filter\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "FoF Filter",
"category": "feature",
"icon": {
"name": "fas fa-filter",
"backgroundColor": "#e74c3c",
"color": "#fff"
}
},
"flagrow": {
"discuss": "https://discuss.flarum.org/d/5131"
},
"flarum-cli": {
"modules": {
"githubActions": true,
"backendTesting": true
}
}
},
"require-dev": {
"flarum/phpstan": "*",
"flarum/testing": "^1.0.0"
},
"scripts": {
"analyse:phpstan": "phpstan analyse",
"clear-cache:phpstan": "phpstan clear-result-cache",
"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"
},
"scripts-descriptions": {
"analyse:phpstan": "Run static analysis",
"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."
},
"autoload-dev": {
"psr-4": {
"FoF\\Filter\\Tests\\": "tests/"
}
}
}