The following sample manifest file contains the minimum elements required for a simple plug-in.
{ "manifestVersion" : "1.0.0", "requirements": { "plugin.api.version": "1.0.0" }, "configuration": { "nameKey": "plugin.name", "icon": { "name": "main" } }, "definitions": { "i18n": { "locales": ["en-US"], "definitions": { "plugin.name": { "en-US": "Hello World" } } } }, "global": { "view": { "uri": "index.html" } } }
Note: The URIs specified in the manifest file are relative to the location of the manifest file itself. That is, the directory containing
plugin.json
should be considered the server root directory for plug-in resources.