1.2.2 • Published 1 year ago

@garoon/plugin-packer v1.2.2

Weekly downloads
10
License
MIT
Repository
github
Last release
1 year ago

garoon-plugin-packer

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

How to install

$ npm install -g @garoon/plugin-packer

Usage: CLI

$ garoon-plugin-packer [OPTIONS] PLUGIN_DIR

Options

  • --out PLUGIN_FILE: The path of generated plugin file. The default is plugin.zip in the same directory of PLUGIN_DIR.

How to use with npm run

The plugin directory is ./plugin, edit package.json:

{
  "scripts": {
    "package": "garoon-plugin-packer plugin"
  }
}

and then

$ npm run package

Usage: Node.js API

const { packer } = require("@garoon/plugin-packer");

packer("./pluginDir");

Licence

MIT License

1.2.2

1 year ago

1.2.0

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago