-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
24 lines (24 loc) · 935 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
{
"id": "nodebb-plugin-web-push",
"url": "https://github.com/NodeBB/nodebb-plugin-web-push",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "static:api.routes", "method": "addRoutes" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:config.get", "method": "appendConfig" },
{ "hook": "action:notification.pushed", "method": "onNotificationPush" },
{ "hook": "static:notifications.rescind", "method": "onNotificationRescind" },
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "filter:service-worker.scripts", "method": "registerServiceWorker" }
],
"languages": "public/languages",
"modules": {
"../client/account/web-push.js": "./public/lib/settings.js",
"../admin/plugins/web-push.js": "./public/lib/admin.js"
},
"staticDirs": {
"static": "./static"
},
"templates": "templates"
}