add npm packaging info

This commit is contained in:
ading2210 2024-01-28 22:56:14 -08:00
parent a7be55fd23
commit 58a8f2259e
5 changed files with 33 additions and 5 deletions

9
client/publish.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
#publish libcurl.js as an npm package
#run build.sh first
cp npm/* out
cp ../README.md out
cd out
npm publish