97 lines
2.7 KiB
JSON
97 lines
2.7 KiB
JSON
{
|
|
"name": "fof/best-answer",
|
|
"description": "Mark a post as the best answer in a discussion",
|
|
"keywords": [
|
|
"flarum"
|
|
],
|
|
"type": "flarum-extension",
|
|
"license": "MIT",
|
|
"support": {
|
|
"issues": "https://github.com/FriendsOfFlarum/best-answer/issues",
|
|
"source": "https://github.com/FriendsOfFlarum/best-answer",
|
|
"forum": "https://discuss.flarum.org/d/21894"
|
|
},
|
|
"homepage": "https://friendsofflarum.org",
|
|
"funding": [
|
|
{
|
|
"type": "website",
|
|
"url": "https://opencollective.com/fof/donate"
|
|
}
|
|
],
|
|
"require": {
|
|
"flarum/core": "^1.8.3",
|
|
"flarum/tags": "*"
|
|
},
|
|
"replace": {
|
|
"wiwatsrt/flarum-ext-best-answer": "*"
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "David Sevilla Martin",
|
|
"email": "me+fof@datitisev.me",
|
|
"role": "Developer"
|
|
},
|
|
{
|
|
"name": "IanM",
|
|
"email": "ian@flarum.org",
|
|
"role": "Developer"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"FoF\\BestAnswer\\": "src/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"flarum-extension": {
|
|
"title": "FoF Best Answer",
|
|
"category": "feature",
|
|
"icon": {
|
|
"name": "far fa-comment-dots",
|
|
"backgroundColor": "#e74c3c",
|
|
"color": "#fff"
|
|
},
|
|
"optional-dependencies": [
|
|
"fof/follow-tags",
|
|
"fof/user-directory",
|
|
"ianm/level-ranks"
|
|
]
|
|
},
|
|
"flagrow": {
|
|
"discuss": "https://discuss.flarum.org/d/21894"
|
|
},
|
|
"flarum-cli": {
|
|
"modules": {
|
|
"githubActions": true,
|
|
"backendTesting": true
|
|
}
|
|
}
|
|
},
|
|
"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."
|
|
},
|
|
"require-dev": {
|
|
"flarum/phpstan": "^1.8",
|
|
"flarum/testing": "^1.0.0"
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"FoF\\BestAnswer\\Tests\\": "tests/"
|
|
}
|
|
}
|
|
}
|