Add `prepublish` script

This commit is contained in:
Franck Royer 2022-05-27 23:38:12 +10:00
parent 7b54dd1b59
commit ec10dcd0ad
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@
"doc:html": "typedoc",
"doc:cname": "echo 'js-waku.wakuconnect.dev' > build/docs/CNAME",
"doc:examples": "mkdir -p build/docs/examples",
"prepublish": "npm run build",
"deploy": "node ci/deploy.js",
"reset-hard": "git clean -dfx && git reset --hard && npm i && npm run build && for d in examples/*/; do (cd $d; npm i); done"
},