Front-render
front end assets compiler
Installation
$ npm i -g front-render
# or
$ git clone https://github.com/rascada/front-render$ cd front-render~/front-render$ npm run init
# no matter which one you choose # from now you have command $ front-render
rendering single file
# front-render [engine] [input] [output] $ front-render babel views/main.js public/main.js_$ | 10/12/2015, 2:09:03 AM |front-render| public/main.js rendered with 'babel' $ front-render stylus main.styl main.css_
Available engines:
toRender.json
Setting up file with predefined files to render
# when toRender is not provided $ front-render$ | 12/21/2015, 3:05:30 AM |front-render| toRender.json created# will create toRender with empty array
and using it
# compile files listed in toRender.json $ front-render$ | 10/12/2015, 2:04:20 AM |front-render| looking
# watch and recompile on change $ front-render watch_
up-render
a.k.a front-render-cli
Work in progress