diff --git a/package.json b/package.json index 10a63ad..4d35b57 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,10 @@ "main": "empty.js", "scripts": { "prepare": "cd book && npm i -g gitbook-cli && gitbook install", + "clean": "rm -rf build && rm -rf book/_book", "build": "cd book && gitbook build && cp -R ./_book ../build", "upload:ipfs": "node scripts/ipfsUpload.js", - "deploy:ipfs": "npm run build && npm run upload:ipfs" + "deploy:ipfs": "npm run clean && npm run build && npm run upload:ipfs" }, "repository": { "type": "git",