generated from NodeBB/nodebb-plugin-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.json
47 lines (47 loc) · 888 Bytes
/
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-antibot",
"url": "https://github.com/MiraiForum/nodebb-plugin-antibot",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "filter:admin.header.build",
"method": "addAdminNavigation"
},
{
"hook": "filter:middleware.renderFooter",
"method": "hookFooter"
},
{
"hook": "filter:post.create",
"method": "postCreate"
},
{
"hook": "response:router.page",
"method": "reqHook"
},
{
"hook": "static:privileges.global.init",
"method": "globalPrivileges"
}
],
"staticDirs": {
"static": "./static"
},
"less": [
],
"scripts": [
"static/lib/main.js"
],
"acpScripts": [
"static/lib/acp-main.js"
],
"modules": {
"../client/antibot.js": "./static/lib/main.js",
"../admin/plugins/antibot.js": "./static/lib/admin.js"
},
"templates": "static/templates"
}