1.1.2 • Published 6 years ago
@mediaclip/generator-library-tools v1.1.2
Yeoman mediaclip-library-tools generator
Tools and typings for Mediaclip javascript themes and layouts
Installation
First, install Yeoman and @mediaclip/generator-library-tools using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g @mediaclip/generator-library-toolsThen generate your new project inside the Library folder (the one that contains the packages folder)
yo @mediaclip/library-toolsUsage
- Install vscode
- Install the ESLint and Prettier extensions
- Make sure you have a
require("@mediaclip/themes")line at the beginning of themes, orrequire("@mediaclip/layouts")andrequire("@mediaclip/autofillspecifications")for layouts and autofill specifications. - To debug a theme, open the
.jsfile you want to debug, and in the Debug menu on the left, choose in the drop down the matching type you want to debug, then press the green "play" button.
License
LGPL-3.0 © Mediaclip Inc.