-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
50 lines (50 loc) · 1.86 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
{
"name": "nice-grpc",
"version": "2.1.8",
"description": "A Node.js gRPC library that is nice to you",
"keywords": [
"grpc",
"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": "jest",
"build": "tsc -P tsconfig.build.json",
"prepublishOnly": "npm run clean && npm run build && npm test",
"prepare:proto:grpc-js": "mkdirp ./fixtures/grpc-js && grpc_tools_node_protoc --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./fixtures/grpc-js --ts_out=grpc_js:./fixtures/grpc-js --grpc_out=grpc_js:./fixtures/grpc-js -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,useExactTypes=false,esModuleInterop=true -I fixtures fixtures/*.proto",
"prepare:proto": "npm run prepare:proto:grpc-js && npm run prepare:proto:ts-proto",
"prepare": "npm run prepare:proto"
},
"author": "Daniel Lytkin <aikoven@deeplay.io>",
"license": "MIT",
"devDependencies": {
"@tsconfig/node14": "^14.1.0",
"@types/defer-promise": "^1.0.0",
"@types/google-protobuf": "^3.7.4",
"@types/node": "^14.18.23",
"defer-promise": "^2.0.1",
"google-protobuf": "^3.14.0",
"grpc-tools": "^1.10.0",
"grpc_tools_node_protoc_ts": "^5.0.1",
"ts-proto": "^1.112.0"
},
"dependencies": {
"@grpc/grpc-js": "~1.9.14",
"abort-controller-x": "^0.4.0",
"nice-grpc-common": "^2.0.2"
}
}