diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package.json b/package.json index 06006e6..7a171b4 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-hvac/", "repository": { @@ -32,6 +33,11 @@ "webpack-dev-server": "^4.8.1" }, "dependencies": { + "google-protobuf": "^3.21.2", + "grpc-web": "^1.5.0", + "mkdirp": "^3.0.1", + "protoc-gen-grpc-web": "^1.4.2", + "protoc-gen-js": "^3.21.2", "uuid": "^9.0.0" } } |