-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
109 lines (109 loc) · 5.71 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "google-gax",
"version": "4.3.0",
"description": "Google API Extensions",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"files": [
"build/src",
"build/protos/",
"!build/src/**/*.map"
],
"dependencies": {
"@grpc/grpc-js": "~1.9.6",
"@grpc/proto-loader": "^0.7.0",
"@types/long": "^4.0.0",
"abort-controller": "^3.0.0",
"duplexify": "^4.0.0",
"google-auth-library": "^9.0.0",
"node-fetch": "^2.6.1",
"object-hash": "^3.0.0",
"proto3-json-serializer": "^2.0.0",
"retry-request": "^7.0.0",
"uuid": "^9.0.1",
"protobufjs": "7.2.6"
},
"devDependencies": {
"@types/uuid": "^9.0.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@compodoc/compodoc": "1.1.23",
"@types/mocha": "^9.0.0",
"@types/ncp": "^2.0.1",
"@types/node": "^20.5.0",
"@types/node-fetch": "^2.5.4",
"@types/object-hash": "^3.0.0",
"@types/proxyquire": "^1.3.28",
"@types/pumpify": "^1.4.1",
"@types/sinon": "^17.0.0",
"@types/uglify-js": "^3.17.0",
"c8": "^9.0.0",
"codecov": "^3.1.0",
"execa": "^5.0.0",
"google-proto-files": "^4.1.0",
"gts": "^5.0.0",
"linkinator": "^4.0.0",
"long": "^4.0.0",
"mkdirp": "^2.0.0",
"mocha": "^9.0.0",
"ncp": "^2.0.0",
"null-loader": "^4.0.0",
"protobufjs-cli": "1.1.2",
"proxyquire": "^2.0.1",
"pumpify": "^2.0.0",
"rimraf": "^5.0.1",
"sinon": "^17.0.0",
"stream-events": "^1.0.4",
"ts-loader": "^8.0.0",
"typescript": "^5.1.6",
"uglify-js": "^3.17.0",
"walkdir": "^0.4.0",
"webpack": "^4.0.0",
"webpack-cli": "^4.0.0"
},
"scripts": {
"docs": "compodoc src/",
"pretest": "npm run prepare",
"test": "c8 mocha build/test/unit",
"lint": "gts check src samples test",
"clean": "gts clean",
"compile": "tsc -p . && cp src/*.json build/src && cp -r test/fixtures build/test && cp -r protos build/",
"compile-operation-protos": "pbjs -t json google/longrunning/operations.proto -p ./protos > protos/operations.json && pbjs -t static-module -r operations_protos google/longrunning/operations.proto -p ./protos > protos/operations.js && pbts protos/operations.js -o protos/operations.d.ts",
"compile-compute-operations-protos": "pbjs -t json google/longrunning/compute_operations.proto -p ./protos > protos/compute_operations.json && pbjs -t static-module -r compute_operations_protos google/longrunning/compute_operations.proto -p ./protos > protos/compute_operations.js && pbts protos/compute_operations.js -o protos/compute_operations.d.ts",
"compile-iam-protos": "pbjs -t json google/iam/v1/iam_policy.proto google/iam/v1/options.proto google/iam/v1/policy.proto google/iam/v1/logging/audit_data.proto -p ./protos > protos/iam_service.json && pbjs -t static-module -r iam_protos google/iam/v1/iam_policy.proto google/iam/v1/options.proto google/iam/v1/policy.proto google/iam/v1/logging/audit_data.proto -p ./protos > protos/iam_service.js && pbts protos/iam_service.js -o protos/iam_service.d.ts",
"compile-location-protos": "pbjs -t json google/cloud/location/locations.proto -p ./protos > protos/locations.json && pbjs -t static-module -r locations_protos google/cloud/location/locations.proto -p ./protos > protos/locations.js && pbts protos/locations.js -o protos/locations.d.ts",
"compile-status-protos": "pbjs -t json google/rpc/status.proto google/rpc/error_details.proto -p ./protos > protos/status.json",
"compile-http-protos": "pbjs -t static-module -r http_proto --keep-case google/api/http.proto -p ./protos > protos/http.js && pbts protos/http.js -o protos/http.d.ts",
"compile-showcase-proto": "pbjs -t json google/showcase/v1beta1/echo.proto google/showcase/v1beta1/identity.proto google/showcase/v1beta1/messaging.proto google/showcase/v1beta1/testing.proto -p ./protos > test/fixtures/google-gax-packaging-test-app/protos/protos.json && pbjs -t static-module -r showcase_protos google/showcase/v1beta1/echo.proto google/showcase/v1beta1/identity.proto google/showcase/v1beta1/messaging.proto google/showcase/v1beta1/testing.proto -p ./protos > test/fixtures/google-gax-packaging-test-app/protos/protos.js && pbts test/fixtures/google-gax-packaging-test-app/protos/protos.js -o test/fixtures/google-gax-packaging-test-app/protos/protos.d.ts",
"fix": "gts fix",
"prepare": "npm run compile && cd ../tools && npm i && npm run compile && cd ../gax && pwd && node ../tools/build/src/prepublish.js . && mkdirp build/protos && cp -r protos/* build/protos/ && npm run minify-proto-json",
"system-test": "c8 mocha build/test/system-test --timeout 600000 && npm run test-application",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"docs-test": "linkinator docs",
"predocs-test": "npm run docs",
"browser-test": "cd test/browser-test && npm run prefetch && npm install && npm test",
"test-application": "cd test/test-application && npm run prefetch && npm install && npm start",
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean",
"update-protos": "cd ../tools && npm i && npm run compile && cd ../gax && node ../tools/build/src/listProtos.js .",
"minify-proto-json": "cd ../tools && npm i && npm run compile && cd ../gax && node ../tools/build/src/minify.js",
"@compodoc/compodoc": "1.1.21"
},
"keywords": [
"grpc"
],
"repository": {
"type": "git",
"url": "https://github.com/googleapis/gax-nodejs.git",
"directory": "gax"
},
"author": "Google API Authors",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/googleapis/gax-nodejs/issues"
},
"homepage": "https://github.com/googleapis/gax-nodejs#readme",
"engines": {
"node": ">=14"
},
"browser": "build/src/fallback.js"
}