Skip to content

Commit

Permalink
Add optional dependencies to composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkwinkelmann committed Jun 9, 2021
1 parent f42e777 commit f0c913c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@
"name": "clarkwinkelmann/flarum-ext-popular-discussion-badge",
"description": "Adds a popular badge to discussion based on replies or number of views",
"keywords": [
"flarum"
"flarum",
"popular"
],
"type": "flarum-extension",
"license": "MIT",
"require": {
"flarum/core": "^1.0",
"ext-json": "*"
},
"suggest": {
"flarumite/simple-discussion-views": "For popular conditions based on number of views",
"michaelbelgium/flarum-discussion-views": "For popular conditions based on number of views, including timeframe"
},
"authors": [
{
"name": "Clark Winkelmann",
Expand All @@ -35,7 +40,11 @@
"name": "fas fa-fire",
"backgroundColor": "#684ba6",
"color": "#fff"
}
},
"optional-dependencies": [
"flarumite/simple-discussion-views",
"michaelbelgium/flarum-discussion-views"
]
},
"flagrow": {
"discuss": "https://discuss.flarum.org/d/24490"
Expand Down

0 comments on commit f0c913c

Please sign in to comment.