-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
41 lines (41 loc) · 1.45 KB
/
Copy pathplugin.json
File metadata and controls
41 lines (41 loc) · 1.45 KB
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
{
"id": "nodebb-plugin-rules-quiz",
"url": "https://github.com/bot-sync-up/nodebb-plugin-rules-quiz",
"library": "./library.js",
"staticDirs": {
"static": "./static"
},
"templates": "static/templates",
"languages": "languages",
"defaultLang": "en-GB",
"less": [
"static/style/quiz.less"
],
"scripts": [
"static/lib/quiz.js",
"static/lib/gate-redirect.js",
"static/lib/status-badge.js",
"static/lib/draft-restore.js"
],
"acpScripts": [
"static/lib/admin.js"
],
"modules": {
"../admin/plugins/rules-quiz.js": "./static/lib/admin.js",
"../client/rules-quiz.js": "./static/lib/quiz.js",
"../client/quiz/index.js": "./static/lib/quiz.js",
"../client/quiz/result.js": "./static/lib/quiz.js"
},
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "static:api.routes", "method": "addRoutes" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "action:user.create", "method": "onUserCreate" },
{ "hook": "action:user.loggedIn", "method": "onUserLoggedIn" },
{ "hook": "response:router.page", "method": "gate" },
{ "hook": "filter:topic.reply", "method": "guardPost" },
{ "hook": "filter:topic.create", "method": "guardTopic" },
{ "hook": "filter:post-queue.save", "method": "guardQueued" },
{ "hook": "filter:post.shouldQueue", "method": "guardShouldQueue" }
]
}