Update mocha
Add retext as a peer dependency