add script to publish to npm