Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

extplug/extplug-cli

Open more actions menu

Repository files navigation

extplug-cli

CLI for easily bundling ExtPlug plugins.

Installation

npm install --global extplug-cli

Usage

extplug bundle /path/to/my/plugin.js bundled-plugin.js
extplug [options] [command]


Commands:

  init                               Scaffold a new plugin in the current directory.
  bundle [options] <entry> [output]  Bundle a plugin.
  watch <entry> <output>             Bundle a plugin. Rebuild automatically when source files change.

Options:

  -h, --help     output usage information
  -V, --version  output the version number

Babel Preset

The Babel preset used by the ExtPlug CLI is available as extplug-cli/babel. This is useful if you need to transpile your code outside of bundling, like when running tests.

For example, with Ava:

// .babelrc
{
  "presets": ["extplug-cli/babel"]
}
// package.json
{
  "ava": {
    "require": ["babel-register"],
    "babel": "inherit"
  }
}

License

MIT

About

CLI for easily bundling ExtPlug plugins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.