forked from julianlam/nodebb-plugin-session-sharing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
28 lines (28 loc) · 890 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
{
"id": "nodebb-plugin-session-sharing",
"url": "https://github.com/NodeBB/nodebb-plugin-session-sharing",
"library": "./library.js",
"hooks": [
{ "hook": "response:router.page", "method": "addMiddleware" },
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "static:user.loggedOut", "method": "cleanup" },
{ "hook": "filter:config.get", "method": "appendConfig" },
{ "hook": "filter:middleware.render", "method": "appendTemplate" },
{ "hook": "action:settings.set", "method": "reloadSettings" },
{ "hook": "action:login.continue", "method": "saveReverseToken" }
],
"less": [
"static/style.less"
],
"scripts": [
"static/lib/main.js"
],
"acpScripts": [
"static/lib/admin.js"
],
"upgrades": [
"upgrades/session_sharing_hash_to_zset.js"
],
"templates": "static/templates"
}