-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathplugin.json
41 lines (41 loc) · 948 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
{
"id": "nodebb-plugin-ns-custom-fields",
"name": "NodeBB Custom Fields",
"description": "Adds custom fields to the user's profile",
"url": "https://github.com/NicolasSiver/nodebb-plugin-ns-custom-fields",
"library": "./plugin/index.js",
"hooks": [
{
"hook": "filter:admin.header.build",
"method": "hooks.filters.menu"
},
{
"hook": "filter:user.account",
"method": "hooks.filters.account"
},
{
"hook": "filter:controllers.topic.get",
"method": "hooks.filters.topic"
},
{
"hook": "static:app.load",
"method": "hooks.statics.load"
},
{
"hook": "filter:user.account.edit",
"method": "hooks.filters.userAccountEdit"
}
],
"less": [
"style/acp.less",
"style/edit.less",
"style/profile.less"
],
"acpScripts": [
"public/js/acp.js"
],
"scripts": [
"client/edit/index.js"
],
"templates": "./public/templates"
}