diff --git a/package.json b/package.json index b5e6744..33f90aa 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "dev": "node build/dev-server.js", "build": "node build/build.js", - "publish": "npm run build && git checkout gh-pages && mv -f dist/static . && mv -f dist/index.html . && git add . && git push" + "publish": "npm run build && git checkout gh-pages && rm -rf static; rm index.html ; mv dist/static . && mv -f dist/index.html . && sed -i 's//static/static/g' index.html && git add . && git push" }, "dependencies": { "d3": "^4.6.0",