forked from NodeBB/nodebb-plugin-poll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
34 lines (34 loc) · 1.17 KB
/
plugin.json
File metadata and controls
34 lines (34 loc) · 1.17 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
{
"id": "nodebb-plugin-poll",
"name": "Poll",
"description": "NodeBB Poll Plugin",
"url": "https://github.com/Schamper/nodebb-plugin-poll",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init.load" },
{ "hook": "filter:admin.header.build", "method": "init.admin.addNavigation" },
{ "hook": "filter:post.save", "method": "hooks.filter.postSave" },
{ "hook": "filter:post.getPosts", "method": "hooks.filter.getPosts" },
{ "hook": "action:post.delete", "method": "hooks.action.postDelete" },
{ "hook": "action:post.restore", "method": "hooks.action.postRestore" },
{ "hook": "action:topic.delete", "method": "hooks.action.topicDelete" },
{ "hook": "action:topic.restore", "method": "hooks.action.topicRestore" }
],
"staticDirs": {
"public": "./public"
},
"less": [
"public/less/style.less",
"public/less/vendor/bootstrap-datetimepicker.less"
],
"scripts": [
"public/js/poll/main.js",
"public/js/poll/sockets.js",
"public/js/poll/view.js",
"public/js/poll/creator.js",
"public/js/vendor/moment.min.js",
"public/js/vendor/bootstrap-datetimepicker.min.js"
],
"templates": "./templates",
"languages": "public/language"
}