chore: build.sh script for napi build

This commit is contained in:
frelodev 2024-08-08 23:22:53 +02:00
parent 754b88fd73
commit a85122050b
3 changed files with 7 additions and 5 deletions

1
dist/js/build.sh vendored Normal file
View file

@ -0,0 +1 @@
npx napi build --cargo-cwd ../..

6
dist/js/package.json vendored Normal file
View file

@ -0,0 +1,6 @@
{
"dependencies": {
"@napi-rs/cli": "^2.18.0",
"npx": "^10.2.2"
}
}

View file

@ -1,5 +0,0 @@
{
"dependencies": {
"@napi-rs/cli": "^2.18.0"
}
}