-
Notifications
You must be signed in to change notification settings - Fork 34
/
plugin.json
37 lines (34 loc) · 1.22 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
{
"id": "nodebb-plugin-shoutbox",
"name": "Shoutbox",
"description": "NodeBB Plugin Shoutbox",
"url": "https://github.com/Schamper/nodebb-plugin-shoutbox",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init.load" },
{ "hook": "filter:config.get", "method": "init.filterConfigGet" },
{ "hook": "filter:admin.header.build", "method": "init.addAdminNavigation" },
{ "hook": "filter:user.customSettings", "method": "settings.addUserSettings" },
{ "hook": "filter:user.getSettings", "method": "settings.filterUserGetSettings" },
{ "hook": "filter:user.saveSettings", "method": "settings.filterUserSaveSettings" },
{ "hook": "filter:user.whitelistFields", "method": "settings.addUserFieldWhitelist" },
{ "hook": "filter:widgets.getWidgets", "method": "widget.define" },
{ "hook": "filter:widget.render:shoutbox", "method": "widget.render" }
],
"staticDirs": {
"public": "./public",
"assets": "./assets"
},
"scss": [
"public/scss/style.scss"
],
"scripts": [
"public/js/loader.js",
"public/js/lib/"
],
"modules": {
"../admin/plugins/shoutbox.js": "public/js/admin.js"
},
"languages": "languages",
"templates": "./templates"
}