added npm prepublish script

Signed-off-by: Johny Jose <johny@playlyfe.com>