This script checks for versioning mistakes and will prevent npm
publication if any of the checks fail.
This also drops the check.sh script, which nobody was using.
Related to #30
Change-Id: Ic8e504515ac31beb7833207aa2ac463d40cfae88
This also configures the package to compile at publish time, which
should enable cdnjs to auto-update the library.
Change-Id: Ib32ac1c44d11e10f344a2409caa800d7312c1996