croak unless the config file ends in .json or .js

haven't actually tested a .js file yet!
bump version, push to npm