Automate processing a directory with JPEGmini
applescript to detect JPEGmini is installed
JPEGmini command line options and isInstalled checks
check and exit if GUI Scripting is not enabled, needed to automate JPEGmini
handle command line options
DRY waiting for ImageOptim and ImageAlpha
compress folder using JPEGmini for Mac
wait for JPEGmini to finish optimising images
1.4.0
gather all applescript into one file
missing else if
refactored to use single applescript lib
Merge branch 'refs/heads/master' into feature_JPEGmini

* refs/heads/master:
  1.3.2
  README
  Added `imageOptim -e` to display usage examples, refs #21
  README

Conflicts:
	imageOptim
	package.json
restore examples function removed in auto merge
Split code into modules and generate distribution as /bin from /src
ignore node_modules
path to cli script
update applescript calls to match lib
allow cliPath to be optionally overridden
change version to variable