-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.json
47 lines (47 loc) · 1012 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-osm-map",
"name": "NodeBB OSM map",
"description": "Add OpenStreetMap map",
"url": "https://github.com/RoPP/nodebb-plugin-osm-map",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "filter:admin.header.build",
"method": "addAdminNavigation"
},
{
"hook": "filter:navigation.available",
"method": "getNavigation"
},
{
"hook": "filter:user.whitelistFields",
"method": "whitelistFields"
},
{
"hook": "filter:user.updateProfile",
"method": "addCoordinates"
}
],
"staticDirs": {
"static": "./static"
},
"scripts": [
"static/lib/client.js"
],
"templates": "static/templates",
"languages": "static/languages",
"defaultLang": "en-GB",
"modules": {
"../admin/plugins/osm-map.js": "static/lib/admin.js"
},
"scss": [
"static/styles.scss"
],
"upgrades": [
"./upgrades/osm-map-users-set.js"
]
}