prepare proper publication in npm

Closes #44