forked from aartiprabhu/node-grpc-error-details
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.4 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.4 KB
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": "@q42philips/node-grpc-error-details",
"version": "2.0.0",
"description": "Utility for deserializing grpc-status-details-bin",
"main": "build/index.js",
"types": "build/index.d.ts",
"author": "Q42",
"license": "MIT",
"dependencies": {
"@grpc/grpc-js": "^1.8.8",
"@types/google-protobuf": "^3.15.6",
"@types/node": "*",
"google-protobuf": "^3.11.4"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"grpc_tools_node_protoc_ts": "^5.3.3",
"grpc-tools": "1.12.4",
"jest": "^29.6.2",
"prettier": "^3.0.0",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"scripts": {
"build": "tsc && mkdir -p build/generated && cp src/generated/* build/generated/",
"genProto": "protoc --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin -I src/proto --js_out=import_style=commonjs,binary:./src/generated ./src/proto/*.proto && protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts -I src/proto --ts_out=./src/generated ./src/proto/*.proto",
"test": "jest",
"lint": "prettier --check ."
},
"jest": {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"volta": {
"node": "18.17.0"
}
}