0.2.1 • Published 8 years ago
@lemonpi/templateset-cli v0.2.1
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-clitemplateset-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-previewOr with extra logging:
templateset-preview -vThe preview will now be available on http://localhost:3000.
Options
--helpor-hfor usage information--watchor-wto configure the source directory (defaults to./template-set)--outor-oto configure the output directory (defaults to./preview)--verboseor-vfor extra logging