Improve commands, clean and rebuild before deploy on IPFS

This commit is contained in:
Theo 2023-07-28 04:38:39 -07:00
parent 9ba46ed95b
commit 97e9da137c

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