forked from edly-io/nodebb-plugin-openedx-discussion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.json
executable file
·49 lines (49 loc) · 950 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"id": "nodebb-plugin-openedx-discussion",
"url": "https://github.com/edly-io/nodebb-plugin-openedx-discussion",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "filter:admin.header.build",
"method": "addAdminNavigation"
},
{
"hook": "filter:middleware.renderHeader",
"method": "addHeaderVariables"
},
{
"hook": "filter:router.page",
"method": "authenticateSession"
},
{
"hook": "static:user.loggedOut",
"method": "cleanSession"
},
{
"hook": "filter:topic.build",
"method": "addTopicViewVariables"
},
{
"hook": "filter:category.build",
"method": "addCategoryViewVariables"
}
],
"staticDirs": {
"static": "./static"
},
"less": [
"static/less/edly-discussion.less"
],
"scripts": [
"static/lib/line-clamp.js",
"static/lib/main.js"
],
"acpScripts": [
"static/lib/admin.js"
],
"templates": "static/templates"
}