forked from NodeBB/nodebb-plugin-question-and-answer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
43 lines (43 loc) · 1.06 KB
/
plugin.json
File metadata and controls
43 lines (43 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"id": "nodebb-plugin-question-and-answer",
"name": "Question and Answer Plugin for NodeBB",
"description": "A nodebb-plugin-question-and-answer plugin for NodeBB which allows users to post topics as questions and select a post as the answe",
"url": "https://github.com/NodeBB/nodebb-plugin-nodebb-plugin-question-and-answer",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load", "method": "init"
},
{
"hook": "filter:config.get", "method": "appendConfig"
},
{
"hook": "filter:admin.header.build", "method": "addAdminNavigation"
},
{
"hook": "filter:topics.get", "method": "getTopics"
},
{
"hook": "filter:topic.thread_tools", "method": "addThreadTool"
},
{
"hook": "filter:navigation.available", "method": "addNavigation"
},
{
"hook": "filter:post.tools", "method": "addPostTool"
},
{
"hook": "filter:rewards.conditions", "method": "getConditions"
}
],
"staticDirs": {
"static": "./static"
},
"less": [
"static/style.less"
],
"scripts": [
"static/lib/main.js"
],
"templates": "static/templates"
}