-
Notifications
You must be signed in to change notification settings - Fork 34
/
plugin.json
39 lines (39 loc) · 1.62 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
{
"library": ".",
"staticDirs": {
"bundles": "build/bundles/"
},
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:navigation.available", "method": "addNavigation" },
{ "hook": "filter:admin.header.build", "method": "adminMenu" },
{ "hook": "filter:parse.post", "method": "parsePost", "priority": 6 },
{ "hook": "filter:parse.raw", "method": "parseRaw", "priority": 6 },
{ "hook": "filter:post.create", "method": "postCreate" },
{ "hook": "filter:post.edit", "method": "postEdit" },
{ "hook": "filter:privileges.list", "method": "privilegesList" },
{ "hook": "filter:privileges.groups.list", "method": "privilegesGroupsList" },
{ "hook": "filter:privileges.list_human", "method": "privilegesListHuman" },
{ "hook": "filter:privileges.groups.list_human", "method": "privilegesListHuman" },
{ "hook": "filter:composer.formatting", "method": "composerFormatting", "priority": 6 },
{ "hook": "action:post.delete", "method": "postDelete" },
{ "hook": "action:post.restore", "method": "postRestore" },
{ "hook": "action:posts.purge", "method": "postsPurge" },
{ "hook": "filter:post.getPostSummaryByPids", "method": "postSummary" },
{ "hook": "filter:teasers.get", "method": "topicTeaser" },
{ "hook": "filter:sanitize.config", "method": "sanitizeConfig" }
],
"templates": "public/templates",
"languages": "public/languages",
"defaultLang": "en-US",
"less": [
"public/event.less",
"public/calendar.less"
],
"scripts": [
"build/bundles/client.js"
],
"modules": {
"../admin/plugins/calendar.js": "public/admin.js"
}
}