-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.json
executable file
·39 lines (39 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
38
39
{
"id": "nodebb-plugin-portal-mark",
"name": "Portal Mark",
"description": "This plugin can mark topic as news article for portals site building.",
"url": "https://github.com/erlgo/nodebb-plugin-portal-mark",
"library": "./index.js",
"less": [
"static/style.less"
],
"scripts": [
"static/lib/loader.js",
"static/lib/client"
],
"staticDirs": {
"static": "./static"
},
"templates": "static/templates",
"languages": "static/language",
"hooks": [{
"hook": "static:app.load",
"method": "init"
}, {
"hook": "filter:privileges.topics.get",
"method": "filter.privileges.topics.get"
}, {
"hook": "filter:topic.thread_tools",
"method": "filter.topic.thread_tools"
}, {
"hook": "filter:topic.get",
"method": "filter.topic.get"
}, {
"hook": "filter:header.build",
"method": "filter.header.build"
}, {
"hook": "filter:admin.header.build",
"method": "filter.admin.header.build"
}],
"compatibility": "~0.6.0"
}