forked from NodeBB-Community/nodebb-plugin-reactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.json
37 lines (37 loc) · 949 Bytes
/
plugin.json
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
{
"id": "nodebb-plugin-reactions",
"name": "NodeBB Reactions",
"description": "Reactions plugin for NodeBB",
"url": "https://github.com/pichalite/nodebb-plugin-reactions",
"library": "./library.js",
"templates": "templates",
"less": [
"less/reactions.less"
],
"scripts": [
"lib/client.js"
],
"acpScripts": [
"lib/admin.js"
],
"hooks": [
{
"hook": "static:app.load", "method": "init"
},
{
"hook": "filter:admin.header.build", "method": "addAdminNavigation"
},
{
"hook": "filter:config.get", "method": "getPluginConfig"
},
{
"hook": "filter:post.getPosts", "method": "getReactions"
},
{
"hook": "filter:post.get", "method": "onReply"
},
{
"hook": "action:post.purge", "method": "deleteReactions"
}
]
}