forked from NodeBB/nodebb-plugin-emoji
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.json
37 lines (37 loc) · 1.28 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
{
"library": "build/lib",
"less": [
"public/style.less"
],
"modules": {
"emoji.js": "build/public/lib/emoji.js",
"emoji-dialog.js": "build/public/lib/emoji-dialog.js",
"preact.js": "node_modules/preact/dist/preact.js",
"preact/devtools.js": "node_modules/preact/devtools.js",
"custom-emoji.js": "build/public/lib/admin/custom-emoji.js"
},
"staticDirs": {
"emoji": "build/emoji"
},
"scripts": [
"build/public/lib/emoji.js",
"public/emoji-setup.js"
],
"acpScripts": [
"public/admin.js"
],
"languages": "public/language",
"defaultLang": "en-US",
"templates": "public/templates",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "adminMenu" },
{ "hook": "filter:composer.formatting", "method": "composerFormatting", "priority": 19 },
{ "hook": "filter:parse.raw", "method": "parse.raw", "priority": 9 },
{ "hook": "filter:parse.post", "method": "parse.post", "priority": 9 },
{ "hook": "filter:email.modify", "method": "modifyEmail" },
{ "hook": "action:plugin.activate", "method": "plugins.activation" },
{ "hook": "action:plugin.deactivate", "method": "plugins.deactivation" },
{ "hook": "filter:meta.getLinkTags", "method": "addStylesheet" }
]
}