-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.json
64 lines (64 loc) · 2.23 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
{
"name": "@kurrent/kurrentdb-client",
"version": "1.0.0",
"description": "KurrentDB gRPC NodeJS Client SDK",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "yarn generate && yarn build:ts",
"build:ts": "tsc --build",
"build:watch": "yarn generate && yarn build:ts-watch",
"build:ts-watch": "tsc --build --watch",
"generate": "yarn generate:folder && yarn generate:sed-append && yarn generate:sed-insert && yarn generate:js",
"generate:sed-append": "shx sed -i \"s/int64 ([A-z_]*) = ([0-9]*) \\[deprecated = true\\];/int64 \\$1 = \\$2 [deprecated = true, jstype = JS_STRING];/g\" ./protos/*",
"generate:sed-insert": "shx sed -i \"s/int64 ([A-z_]*) = ([0-9]*);/int64 \\$1 = \\$2 [jstype = JS_STRING];/g\" ./protos/*",
"generate:folder": "shx mkdir -p ./generated",
"generate:js": "grpc_tools_node_protoc ./protos/*.proto --proto_path=./protos --grpc_out=grpc_js:./generated --js_out=import_style=commonjs,binary:./generated --ts_out=generate_package_definition:./generated",
"clean": "yarn clean:generated && yarn clean:dist && yarn clean:buildinfo",
"clean:generated": "shx rm -rf ./generated",
"clean:dist": "shx rm -rf ./dist",
"clean:buildinfo": "shx rm -rf *.tsbuildinfo"
},
"files": [
"dist/",
"generated/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kurrent-io/KurrentDB-Client-NodeJS.git"
},
"keywords": [
"Kurrent",
"EventSourcing",
"Client"
],
"author": "Kurrent, Inc",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/kurrent-io/KurrentDB-Client-NodeJS/issues"
},
"homepage": "https://developers.kurrent.io/clients/grpc/getting-started?codeLanguage=NodeJS",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@grpc/grpc-js": "^1.12.4",
"@kurrent/bridge": "^0.1.1",
"@types/debug": "^4.1.12",
"@types/google-protobuf": "^3.15.12",
"@types/node": "^22.10.2",
"debug": "^4.4.0",
"google-protobuf": "^3.21.4",
"uuid": "11.0.3"
},
"devDependencies": {
"@types/uuid": "^10.0.0",
"grpc-tools": "^1.12.4",
"grpc_tools_node_protoc_ts": "^5.3.3",
"nx": "20.1.3",
"shx": "^0.3.4"
}
}