forked from NicolasSiver/nodebb-plugin-ns-awards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
56 lines (56 loc) · 1.38 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"id": "nodebb-plugin-ns-awards",
"name": "NodeBB Awards",
"description": "A system for rewarding forum users. The plugin allows admin to define set of awards that could be granted to users for special accomplishments.",
"url": "https://github.com/NicolasSiver/nodebb-plugin-ns-awards",
"library": "./plugin/index.js",
"hooks": [
{
"hook": "filter:admin.header.build",
"method": "hooks.filters.menuAdmin"
},
{
"hook": "filter:navigation.available",
"method": "hooks.filters.navigation"
},
{
"hook": "filter:user.account",
"method": "hooks.filters.account"
},
{
"hook": "filter:post.getPosts",
"method": "hooks.filters.getPosts"
},
{
"hook": "static:user.delete",
"method": "hooks.statics.userDelete"
},
{
"hook": "static:app.load",
"method": "hooks.statics.load"
},
{
"hook": "static:ns.awards.rewardUser",
"method": "hooks.api.rewardUser"
},
{
"hook": "filter:ns.awards.getAwards",
"method": "hooks.api.getAwards"
}
],
"css": [
"public/css/overview.css",
"public/css/profile.css",
"public/css/topic.css"
],
"acpScripts": [
"public/js/acp.js"
],
"scripts": [],
"staticDirs": {
"templates": "./public/templates",
"css": "./public/css",
"js": "./public/js"
},
"templates": "./public/templates"
}