From c80f015cc8402c07992027b1edf3d11d1676af58 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Thu, 23 Feb 2017 22:29:35 +0100 Subject: [PATCH] package publish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cfdac57..45c3a85 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "private": true, "scripts": { "dev": "node build/dev-server.js", - "build": "node build/build.js" + "build": "node build/build.js", + "publish": "npm run build && git checkout gh-pages && mv dist/static . && mv dist/index.html . && git add . && git push" }, "dependencies": { "d3": "^4.6.0",