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",