badlee/JSCC-NODE — pull request #4 by irvingc (2012-09-11 03:59:53+00:00)
Title: Binifying

Hi,

I made a few changes to enable to run jscc as a shell command. To do this I did the following:

1. Move jscc.js to /bin dir
2. Move the driver to /lib dir
3. Changed package.json to use the "bin" property, instead of "main"
4. Made jscc read the driver from the lib directory by default.
5. Bumped the version to 0.3.1

I think it is nicer, since now you can just run:

jscc

from anywhere in your filesystem, without prepending it with

node

and it will find the driver regardless of the directory in which it was installed.

Let me know if this works for you,

Irving