0.1.2 • Published 8 years ago

front-render v0.1.2

Weekly downloads
1
License
UNLICENSED
Repository
github
Last release
8 years ago

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

[
  [ "stylus", "views/main.styl", "public/main.css" ],
  [ "babel", "views/main.js", "public/main.js" ],
]
# 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 for toRender.json in working directory
# watch and recompile on change
$ front-render watch
_

up-render

a.k.a front-render-cli

Work in progress

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago