[wip] npm scripts

This is a work in progress PR for issue #8, don't merge yet!