roovenier / compalius

Simple script to compile all famous web preprocessors formats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compalius

Simple script to compile all famous web preprocessors formats

npm version

Getting Started

Install package:

$ npm install -g compalius

Usage

Compile

Less, Sass, Stylus -> CSS

$ cpalius styles.(less|scss|styl)

For example, this command will compile new styles.css file:

$ cpalius styles.less

You can also name output file as you want:

$ cpalius styles.less / my_styles.css

CoffeScript -> JS

$ cpalius scripts.coffee
$ cpalius scripts.coffee / my_scripts.js

Jade -> HTML

$ cpalius index.jade
$ cpalius index.jade / index.html

Compile & Minify

To minify output file add the -min option in the end:

$ cpalius styles.less -min
$ cpalius scripts.coffee -min

 or

$ cpalius styles.less / my_styles.min.css -min
$ cpalius scripts.coffee / my_scripts.min.js -min

About

Simple script to compile all famous web preprocessors formats


Languages

Language:JavaScript 100.0%