-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.json
More file actions
28 lines (28 loc) · 861 Bytes
/
plugin.json
File metadata and controls
28 lines (28 loc) · 861 Bytes
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
{
"id": "nodebb-plugin-firebase",
"url": "https://github.com/NodeBB/nodebb-plugin-firebase",
"library": "./lib/main.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "action:settings.set", "method": "onSettingsChange" },
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "action:notification.pushed", "method": "notify" }
],
"acpLess": [
"static/style.less"
],
"scripts": [
"static/lib/main.js",
"static/lib/push-notifications.js"
],
"acpScripts": [
"static/lib/admin.js"
],
"modules": {
"firebase.js": "static/lib/firebase.js",
"@firebase/app.js": "node_modules/firebase/firebase-app.js",
"@firebase/messaging.js": "node_modules/firebase/firebase-messaging.js"
},
"templates": "static/templates"
}