diff options
author | Roger Zanoni <rzanoni@igalia.com> | 2024-01-03 13:52:10 -0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-01-29 12:07:45 +0000 |
commit | 52aabdb011279871468269802e056f0ec48511e4 (patch) | |
tree | d040640cad2272f58e097909cb4eb59daec997a1 /package.json | |
parent | 38587cf96c096a204cd742fff9fea4f8e465393a (diff) |
Update mixer app to use grpc-web instead of websockets
Adapt the HTML5 applications to use kuksa.val service
Bug-AGL: SPEC-4599
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ic67ff781be4080c45bdbc6abe20d696aeda08eb1
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/package.json b/package.json index 2ef9c2f..011b82d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "webpack": "webpack", "build": "webpack", - "start": "webpack-dev-server" + "start": "webpack-dev-server", + "generate-grpc": "mkdirp ./src/generated && protoc -I./proto types.proto val.proto --js_out=import_style=commonjs:./src/generated --grpc-web_out=import_style=commonjs,mode=grpcwebtext:./src/generated" }, "homepage": "https://git.automotivelinux.org/apps/html5-mixer", "repository": { @@ -33,6 +34,10 @@ "webpack-dev-server": "^4.8.1" }, "dependencies": { - "mustache": "^4.2.0" + "google-protobuf": "^3.21.2", + "grpc-web": "^1.5.0", + "mustache": "^4.2.0", + "protoc-gen-grpc-web": "^1.4.2", + "protoc-gen-js": "^3.21.2" } } |