{
    "id": "nodebb-plugin-upyun-uploads",
    "name": "Upyun Uploads Plugin",
    "description": "A plugin for NodeBB to take file uploads and store them on Upyun",
    "url": "https://github.com/revir/nodebb-plugin-upyun-uploads",
    "library": "./index.js",
    "hooks": [
        { "hook": "static:app.load", "method": "load"},
        { "hook": "action:plugin.activate", "method": "activate"},
        { "hook": "action:plugin.deactivate", "method": "deactivate"},

        { "hook": "filter:admin.header.build", "method": "admin.menu"},
        { "hook": "filter:uploadImage", "method": "uploadImage", "priority": 6 },
        { "hook": "filter:uploadFile", "method": "uploadFile", "priority": 6 }
    ],
    "templates": "./templates"
}
