add transitions, update docs and fix test, npm push