squeaknode/frontend/make-build.sh
Jonathan Zernik f8cda6fef2
Organize frontend (#346)
* Remove intermediate squeak-node-frontend dir

* Create build-protos.sh

* Fix build-protos script in readme
2020-10-29 23:21:38 -04:00

12 lines
268 B
Bash
Executable file

cp -r ../../proto src/
(cd src && \
protoc -I=. proto/squeak_admin.proto proto/lnd.proto \
--js_out=import_style=commonjs:. \
--grpc-web_out=import_style=commonjs,mode=grpcwebtext:.)
./pb_disable-eslint.sh src/proto/
npm install && \
npm run build