set up npm prepublish
cleanup on npm postpublish