plugin-packer for Garoon plugins.
It's written in pure JavaScript, so
- The CLI works with Node.js in Mac/Windows/Linux
- Validate your manifest.json with JSON Schema
$ npm install -g @garoon/plugin-packer$ garoon-plugin-packer [OPTIONS] PLUGIN_DIR--out PLUGIN_FILE: The path of generated plugin file. The default isplugin.zipin the same directory of PLUGIN_DIR.
The plugin directory is ./plugin, edit package.json:
{
"scripts": {
"package": "garoon-plugin-packer plugin"
}
}and then
$ npm run packageconst { packer } = require("@garoon/plugin-packer");
packer("./pluginDir");MIT License