-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
81 lines (81 loc) · 3.01 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "nice-grpc-web",
"version": "3.3.3",
"description": "A Browser gRPC library that is nice to you",
"keywords": [
"grpc",
"grpc-web",
"promise",
"async-iterable",
"abort-controller",
"abort-signal",
"typescript"
],
"repository": "deeplay-io/nice-grpc",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"src",
"!src/**/*.test.ts",
"!src/**/__tests__"
],
"scripts": {
"clean": "rimraf lib",
"test": "NODE_TLS_REJECT_UNAUTHORIZED=0 ts-node ./run-specs-mocha.ts",
"test:local-browser": "wdio run ./wdio.conf.ts",
"test:local-browser-headless": "USE_HEADLESS_BROWSER=true wdio run ./wdio.conf.ts",
"test:browserstack": "USE_BROWSERSTACK=true wdio run ./wdio.conf.ts",
"build": "tsc -P tsconfig.build.json && cpr -f '\\.(ts|tsx|snap)$' src lib",
"prepublishOnly": "npm run clean && npm run build && npm test",
"prepare:grpcwebproxy": "path-exists grpcwebproxy || node scripts/download-grpcwebproxy.js",
"prepare:proto:grpc-web": "mkdirp ./fixtures/grpc-web && grpc_tools_node_protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./fixtures/grpc-web --ts_out=service=grpc-web:./fixtures/grpc-web -I fixtures fixtures/*.proto",
"prepare:proto:ts-proto": "mkdirp ./fixtures/ts-proto && grpc_tools_node_protoc --ts_proto_out=./fixtures/ts-proto --ts_proto_opt=outputServices=nice-grpc,outputServices=generic-definitions,outputJsonMethods=false,useExactTypes=false,esModuleInterop=true -I fixtures fixtures/*.proto",
"prepare:proto": "npm run prepare:proto:grpc-web && npm run prepare:proto:ts-proto",
"prepare": "npm run prepare:grpcwebproxy && npm run prepare:proto"
},
"author": "Daniel Lytkin <aikoven@deeplay.io>",
"license": "MIT",
"devDependencies": {
"@improbable-eng/grpc-web": "^0.15.0",
"@tsconfig/recommended": "^1.0.1",
"@types/get-port": "^4.2.0",
"@types/google-protobuf": "^3.15.2",
"@types/tcp-port-used": "^1.0.0",
"@types/tmp": "^0.2.3",
"@types/ws": "^8.2.2",
"@wdio/browser-runner": "^8.32.4",
"@wdio/browserstack-service": "^8.33.0",
"@wdio/cli": "^8.32.2",
"@wdio/mocha-framework": "^8.32.4",
"@wdio/spec-reporter": "^8.32.2",
"assert-never": "^1.2.1",
"chromedriver": "^125.0.3",
"cpr": "^3.0.1",
"detect-browser": "^5.3.0",
"get-port": "^5.1.1",
"glob": "^10.3.10",
"google-protobuf": "^3.17.3",
"grpc-tools": "^1.11.2",
"just-cartesian-product": "^4.2.0",
"mkdirp": "^3.0.1",
"mocha": "^10.3.0",
"path-exists-cli": "^2.0.0",
"request": "^2.88.2",
"selfsigned": "^2.1.1",
"string-env-interpolation": "^1.0.1",
"tcp-port-used": "^1.0.2",
"testcontainers": "^10.2.1",
"ts-node": "^10.9.2",
"ts-proto": "^1.112.0",
"ts-protoc-gen": "^0.15.0",
"unzipper": "^0.11.6",
"ws": "^8.4.2"
},
"dependencies": {
"abort-controller-x": "^0.4.0",
"isomorphic-ws": "^5.0.0",
"js-base64": "^3.7.2",
"nice-grpc-common": "^2.0.2"
}
}