-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugin.json
More file actions
20 lines (20 loc) · 841 Bytes
/
plugin.json
File metadata and controls
20 lines (20 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"id": "nodebb-plugin-onesignal",
"name": "OneSignal Notifications",
"description": "Allows NodeBB to interface with the OneSignal service in order to provide push notifications to OneSignal applications and devices",
"url": "https://github.com/CCob/nodebb-plugin-onesignal",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addMenuItem" },
{ "hook": "action:notification.pushed", "method": "push" },
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "filter:manifest.build", "method": "getManifest" }
],
"scripts": ["lib/client-settings.js", "static/lib/ClientSide.js"],
"staticDirs": {
"static": "./static"
},
"less": ["static/style.less"],
"templates": "static/templates"
}