forked from LIU9293/nodebb-widget-lunbo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
26 lines (26 loc) · 741 Bytes
/
Copy pathplugin.json
File metadata and controls
26 lines (26 loc) · 741 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
{
"id": "nodebb-widget-lunbo",
"name": "NodeBB Image Carousel",
"description": "Add a Carousel wherever you want.",
"library": "./library.js",
"staticDirs": {
"public": "public"
},
"url": "https://github.com/LIU9293/nodebb-widget-lunbo",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:widgets.getWidgets", "method": "defineWidgets" },
{ "hook": "filter:widget.render:lunbo", "method": "renderDiscordWidget" }
],
"css": [
"./public/style.css"
],
"less":[
"./public/unslider/unslider.less"
],
"templates": "./public/templates",
"scripts": [
"./public/js/client.js",
"./public/js/unslider.js"
]
}