-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
plugin.json
47 lines (47 loc) · 1.21 KB
/
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
{
"id": "nodebb-plugin-ns-embed",
"name": "NodeBB Embed",
"description": "Embed media and rich content in posts: Youtube, Vimeo, Twitch etc. All embeds are based on the rules. You are encouraged to build your own rules to embed everything what is embeddable.",
"url": "https://github.com/NicolasSiver/nodebb-plugin-ns-embed",
"library": "./plugin/index.js",
"hooks": [
{
"hook": "filter:admin.header.build",
"method": "hooks.filters.adminHeaderBuild"
},
{
"hook": "filter:admin.scripts.get",
"method": "hooks.filters.adminScripts"
},
{
"hook": "static:app.load",
"method": "hooks.statics.load"
},
{
"hook": "filter:parse.post",
"method": "hooks.filters.parsePost",
"priority": 8
},
{
"hook": "filter:parse.raw",
"method": "hooks.filters.parseRaw"
},
{
"hook": "filter:sanitize.config",
"method": "hooks.filters.sanitizeConfig"
}
],
"less": [
"style/forum.less"
],
"modules": {
"../admin/plugins/embed.js": "./public/js/acp.js"
},
"scripts": [],
"staticDirs": {
"acp": "./client/acp",
"css": "./public/css",
"js": "./public/js"
},
"templates": "./public/templates"
}