@abtasty/widget-cli

CLI tool for AB Tasty Widgets.

Usage no npm install needed!

<script type="module">
  import abtastyWidgetCli from 'https://cdn.skypack.dev/@abtasty/widget-cli';
</script>

README

AB Tasty Widget CLI

CLI tool for AB Tasty Widgets.

AB Tasty Widgets are NPM packages that can be embedded on any website, through AB Tasty. You can find more infomation and documentation about widgets at https://abtasty.gitbooks.io/widget/.

Prerequisites

Both the CLI and generated project have dependencies that require Node 7 or higher, together with NPM 4 or higher.

Installation

npm install -g @abtasty/widget-cli

Usage

widget --help

Create new widget

The AB Tasty Widget CLI makes it easy to create a widget that already works, right out of the box. It already follows our best practices!

widget new

Serve your widget

Easily preview and test your widget locally while developing.

cd my-widget
widget serve

Updating

To upgrade AB Tasty Widget CLI:

npm install -g @abtasty/widget-cli@latest