an attempt at npm prepublish script