examples: add preinstall script

This commit is contained in:
nazeh
2024-07-25 14:36:39 +03:00
parent b03602045f
commit e407461c0d
5 changed files with 24 additions and 8 deletions

View File

@@ -1,6 +1,9 @@
{
"type": "module",
"main": "index.js",
"scripts": {
"preinstall": "cargo run --bin bundle_pubky_npm"
},
"dependencies": {
"@synonymdev/pubky":"file:../../pubky/pkg"
}