@lemonpi/templateset-cli

0.2.1 • Public • Published

lemonpi-cli

This project serves as a collection of cli tools that make it easier to create templatesets for LemonPI.

Installation

yarn add -D @lemonpi/templateset-cli

templateset-preview

Because of their dynamic nature, templatesets can not be previewed locally. This tool takes a templateset as it would be uploaded to LemonPI, and transforms it into a working preview.

It actively watches a source directory. When changes occur the preview is recreated and reloaded in the browser.

Usage

yarn templateset-preview

Or with extra logging:

templateset-preview -v

The preview will now be available on http://localhost:3000.

Options

  • --help or -h for usage information
  • --watch or -w to configure the source directory (defaults to ./template-set)
  • --out or -o to configure the output directory (defaults to ./preview)
  • --verbose or -v for extra logging

Readme

Keywords

none

Package Sidebar

Install

npm i @lemonpi/templateset-cli

Weekly Downloads

16

Version

0.2.1

License

UNLICENSED

Unpacked Size

56.6 MB

Total Files

6124

Last publish

Collaborators

  • lucmartens
  • robbertvancaem
  • vlemert
  • zetafish