2015-09-04 11:56:51 +08:00
|
|
|
{
|
2021-05-12 08:04:52 +08:00
|
|
|
"name": "flarum/flags",
|
|
|
|
"description": "Allow users to flag posts for moderator review.",
|
|
|
|
"type": "flarum-extension",
|
|
|
|
"keywords": [
|
|
|
|
"moderation"
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
|
|
|
"support": {
|
|
|
|
"issues": "https://github.com/flarum/core/issues",
|
|
|
|
"source": "https://github.com/flarum/flags",
|
|
|
|
"forum": "https://discuss.flarum.org"
|
|
|
|
},
|
|
|
|
"homepage": "https://flarum.org",
|
|
|
|
"funding": [
|
|
|
|
{
|
|
|
|
"type": "website",
|
|
|
|
"url": "https://flarum.org/donate/"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"flarum/core": "^0.1.0-beta.16"
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"Flarum\\Flags\\": "src/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
"dev-master": "0.1.x-dev"
|
2015-09-04 11:56:51 +08:00
|
|
|
},
|
2021-05-12 08:04:52 +08:00
|
|
|
"flarum-extension": {
|
|
|
|
"title": "Flags",
|
|
|
|
"category": "feature",
|
|
|
|
"icon": {
|
|
|
|
"name": "fas fa-flag",
|
|
|
|
"backgroundColor": "#D659B5",
|
|
|
|
"color": "#fff"
|
|
|
|
}
|
2015-09-04 11:56:51 +08:00
|
|
|
}
|
2021-05-12 08:04:52 +08:00
|
|
|
},
|
|
|
|
"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/core": "0.1.x-dev",
|
|
|
|
"flarum/tags": "0.1.x-dev",
|
|
|
|
"flarum/testing": "*@dev"
|
|
|
|
}
|
2015-09-04 11:56:51 +08:00
|
|
|
}
|