forked from roof12/grpc-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"name": "grpc-web-example",
"version": "0.1.0",
"private": true,
"scripts": {
"generate_cert": "cd ../misc ./gen_cert.sh",
"build:proto": "./protogen.sh",
"get_go_deps": "./get_go_deps.sh",
"webpack-dev:tls": "cd ts && export USE_TLS=true && webpack-dev-server --colors --watch --hot --inline --port 8082 --host 0.0.0.0 --output-public-path=https://localhost:8082/build/ --https --cert=../../misc/localhost.crt --key=../../misc/localhost.key",
"webpack-dev": "cd ts && webpack-dev-server --colors --watch --hot --inline --port 8081 --host 0.0.0.0 --output-public-path=http://localhost:8081/build/",
"start:tls": "npm run build:proto && concurrently --kill-others \"go run go/exampleserver/exampleserver.go --enable_tls=true\" \"npm run webpack-dev:tls\"",
"start": "npm run build:proto && concurrently --kill-others \"go run go/exampleserver/exampleserver.go\" \"npm run webpack-dev\""
},
"license": "none",
"dependencies": {
"@types/google-protobuf": "^3.2.5",
"google-protobuf": "^3.2.0",
"grpc-web-client": "0.3.0"
},
"devDependencies": {
"concurrently": "^3.4.0",
"ts-loader": "^2.0.1",
"ts-protoc-gen": "0.3.2",
"typescript": "2.2.1",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.4.2"
}
}