Export protobuf types (#100)

* update to monero-javascript v0.7.0
* bump to version v0.0.2
* terminate monero-javascript worker at end of tests
This commit is contained in:
woodser 2022-05-10 09:55:41 -04:00 committed by GitHub
parent 5d89d3973f
commit befdf7b33e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 70674 additions and 41155 deletions

11
scripts/build_dist.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
# run typescript compiler
tsc
# copy protobuf models to dist
mkdir -p dist/protobuf || exit 1
cp src/protobuf/grpc_pb.d.ts dist/protobuf/grpc_pb.d.ts || exit 1
cp src/protobuf/grpc_pb.js dist/protobuf/grpc_pb.js || exit 1
cp src/protobuf/pb_pb.d.ts dist/protobuf/pb_pb.d.ts || exit 1
cp src/protobuf/pb_pb.js dist/protobuf/pb_pb.js || exit 1