update modules to latest versions

- move mocha to peer dependencies

close #4