Skip to content

jritsema/freeboard-react-buildtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

freeboard-react-buildtool

A CLI build tool that makes developing freeboard widgets with react easier.

The tool can update a widget's settings in a freeboard dashboard.json file. Takes freeboard dashboard json as stdin, tries to read code.js (react code) and data.js, and then serializes them into the dashboard json.

Usage

Install tool as a dev dependency in your react widget project folder (see freeboard-react-widget)...

$ npm install --save-dev freeboard-react-buildtool

Then you can create an npm script to auto-update your dashboard.json with something like...

$ cat dashboard.json | freeboard-react-buildtool > temp && cp temp dashboard.json && rm temp

About

A CLI build tool that makes developing freeboard widgets with react easier.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published