96 lines
2.7 KiB
JSON
96 lines
2.7 KiB
JSON
{
|
|
"name": "fof/ban-ips",
|
|
"description": "Ban IP addresses from your forum",
|
|
"keywords": [
|
|
"flarum"
|
|
],
|
|
"type": "flarum-extension",
|
|
"license": "MIT",
|
|
"support": {
|
|
"issues": "https://github.com/FriendsOfFlarum/ban-ips/issues",
|
|
"source": "https://github.com/FriendsOfFlarum/ban-ips",
|
|
"forum": "https://discuss.flarum.org/d/20949"
|
|
},
|
|
"homepage": "https://friendsofflarum.org",
|
|
"funding": [
|
|
{
|
|
"type": "website",
|
|
"url": "https://opencollective.com/fof/donate"
|
|
}
|
|
],
|
|
"require": {
|
|
"flarum/core": "^1.8.3"
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "David Sevilla Martín",
|
|
"email": "me+fof@datitisev.me",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "IanM",
|
|
"homepage": "https://discuss.flarum.org/u/ianm",
|
|
"role": "Developer"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"FoF\\BanIPs\\": "src/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"flarum-extension": {
|
|
"title": "FoF Ban IPs",
|
|
"category": "feature",
|
|
"icon": {
|
|
"name": "fas fa-gavel",
|
|
"backgroundColor": "#e74c3c",
|
|
"color": "#fff"
|
|
},
|
|
"optional-dependencies": [
|
|
"flarum/suspend",
|
|
"flarum/flags",
|
|
"flarum/tags",
|
|
"flarum/approval",
|
|
"flarum/gdpr"
|
|
]
|
|
},
|
|
"flagrow": {
|
|
"discuss": "https://discuss.flarum.org/d/20949"
|
|
},
|
|
"flarum-cli": {
|
|
"modules": {
|
|
"backendTesting": true,
|
|
"githubActions": true
|
|
}
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"FoF\\BanIPs\\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": "*",
|
|
"flarum/gdpr": "dev-main"
|
|
}
|
|
}
|