======
Meteor
======

Meteor is a Frontend toolbox.

Usage
=====

meteor build
------------
Your frontend project should look like this::

	meteor.cfg
	src/
		js/
		css/
		img/
		index.html

*meteor.cfg* file contain various settings, like concat, build, build settings, etc.

In the root directory, run `meteor build` to build, run `meteor build -p dist` to make a release build.

In release build:
* js files are compressed with google closure compiler
* css are compressed with YUI compressor
* html file are optionally compressed with HTML compressor.
* typescript, less files are converted to js or css types.

Specific file can be built with command `meteor file1 file2`.

meteor inline
-------------
inline js css and images

meteor minify
-------------
minify js css or html files

meteor qrcode
-------------
convert a string to qrcode and open the image

meteor base64
-------------
get base64 of a file and copy to clipboard

TODO
====

meteor serve
------------
create a local develop server

meteor install
--------------
install a bower package

meteor register
---------------
register a local file for later reuse

Installation
============

Run `setup.py install`.

Meteor is only tested on python3, also make sure your path contains `Python3/Scripts`
