Use npm prepublish script rather than prepublish.js