-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathplugin.json
72 lines (72 loc) · 1.67 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"id": "nodebb-plugin-ns-points",
"name": "NodeBB Points",
"description": "Additional metrics for User Profiles. It's like experience in video games. Plugin is good for gamification of your board.",
"url": "https://github.com/NicolasSiver/nodebb-plugin-ns-points",
"library": "./plugin/index.js",
"hooks": [
{
"hook": "action:post.save",
"method": "hooks.actions.postSave"
},
{
"hook": "action:topic.save",
"method": "hooks.actions.topicSave"
},
{
"hook": "action:post.upvote",
"method": "hooks.actions.postUpvote"
},
{
"hook": "action:post.unvote",
"method": "hooks.actions.postUnvote"
},
{
"hook": "filter:admin.header.build",
"method": "hooks.filters.menuAdmin"
},
{
"hook": "filter:navigation.available",
"method": "hooks.filters.navigation"
},
{
"hook": "filter:post.get",
"method": "hooks.filters.postGet"
},
{
"hook": "filter:post.getPosts",
"method": "hooks.filters.postGetPosts"
},
{
"hook": "filter:topic.get",
"method": "hooks.filters.topicGet"
},
{
"hook": "filter:user.account",
"method": "hooks.filters.account"
},
{
"hook": "static:app.load",
"method": "hooks.statics.load"
},
{
"hook": "static:user.delete",
"method": "hooks.statics.userDelete"
}
],
"less": [
"style/client.less"
],
"acpScripts": [
"public/js/acp.js"
],
"scripts": [
"public/js/overview.js"
],
"staticDirs": {
"css": "./public/css",
"templates": "./public/templates",
"js": "./public/js"
},
"templates": "./public/templates"
}