mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"name": "flarum/akismet",
|
|
"description": "Stop spam using the Akismet anti-spam service.",
|
|
"type": "flarum-extension",
|
|
"keywords": [
|
|
"moderation"
|
|
],
|
|
"license": "MIT",
|
|
"support": {
|
|
"issues": "https://github.com/flarum/core/issues",
|
|
"source": "https://github.com/flarum/akismet",
|
|
"forum": "https://discuss.flarum.org"
|
|
},
|
|
"homepage": "https://flarum.org",
|
|
"funding": [
|
|
{
|
|
"type": "website",
|
|
"url": "https://flarum.org/donate/"
|
|
}
|
|
],
|
|
"require": {
|
|
"flarum/core": "^1.1",
|
|
"flarum/approval": "^1.1",
|
|
"guzzlehttp/guzzle": "^7.4"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Flarum\\Akismet\\": "src/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "1.x-dev"
|
|
},
|
|
"flarum-extension": {
|
|
"title": "Akismet",
|
|
"category": "feature",
|
|
"icon": {
|
|
"image": "icon.jpg",
|
|
"backgroundSize": "cover",
|
|
"backgroundColor": "#5e8e14",
|
|
"color": "#fff"
|
|
}
|
|
},
|
|
"flarum-cli": {
|
|
"modules": {
|
|
"js": true,
|
|
"jsCommon": false,
|
|
"gitConf": true,
|
|
"githubActions": true,
|
|
"prettier": true,
|
|
"typescript": true,
|
|
"bundlewatch": false,
|
|
"backendTesting": true,
|
|
"editorConfig": true,
|
|
"styleci": true,
|
|
"admin": true,
|
|
"forum": true,
|
|
"css": false
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"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."
|
|
},
|
|
"require-dev": {
|
|
"flarum/testing": "^1.0.0"
|
|
}
|
|
}
|