-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
72 lines (72 loc) · 3.28 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
{
"name": "@google-cloud/gapic-generator",
"version": "4.6.3",
"type": "module",
"description": "Google API Client Library Generator for TypeScript, written in TypeScript.",
"homepage": "https://github.com/googleapis/gapic-generator-typescript#readme",
"bugs": {
"url": "https://github.com/googleapis/gapic-generator-typescript/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/googleapis/gapic-generator-typescript.git"
},
"license": "Apache-2.0",
"author": "Google LLC",
"bin": {
"gapic-generator-typescript": "build/typescript/src/gapic-generator-typescript.js",
"protoc-gen-typescript_gapic": "build/typescript/src/protoc-plugin.js"
},
"files": [
"build/typescript/src/**/*.js",
"build/typescript/src/**/*.d.ts",
"build/protos",
"build/templates"
],
"scripts": {
"baseline": "node bazel-bin/typescript/tools/update-baselines.js",
"clean": "bazel clean && rm -rf build",
"codecov": "c8 --reporter=lcov mocha bazel-bin/typescript/test/unit && c8 report",
"compile": "bazel build //...",
"compile-protos-json": "pbjs -t json -o protos/protos.json -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/field_info.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto",
"compile-protos-js": "pbjs -t static-module -o protos/index.js -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/field_info.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto",
"compile-protos-dts": "pbts protos/index.js -o protos/index.d.ts",
"docker-test": "sh docker/test.sh",
"fix": "gts fix",
"js-test-application": "mocha bazel-bin/typescript/test/test-application/test-js --timeout 600000",
"lint": "gts check",
"prepack": "npm run compile && cd templates/typescript_gapic && rm -f package.json.njk && mv package.json package.json.njk && cd ../.. && mkdir -p build && cp -rf bazel-bin/typescript templates protos build/",
"postpack": "cd templates/typescript_gapic && mv package.json.njk package.json && ln -s package.json package.json.njk",
"test": "bazel test --test_output=errors //:unit_tests",
"ts-test-application": "mocha bazel-bin/typescript/test/test-application/test-ts --timeout 600000"
},
"dependencies": {
"@types/js-yaml": "^4.0.9",
"js-yaml": "^4.1.0",
"long": "^5.2.3",
"nunjucks": "^3.2.4",
"object-hash": "^3.0.0",
"proto3-json-serializer": "^2.0.2",
"protobufjs": "7.4.0",
"protobufjs-cli": "^1.1.3",
"yargs": "^17.7.2"
},
"devDependencies": {
"@bazel/bazelisk": "^1.19.0",
"@types/mocha": "^10.0.7",
"@types/module-alias": "^2.0.4",
"@types/node": "^20.16.4",
"@types/nunjucks": "^3.2.6",
"@types/object-hash": "^3.0.6",
"@types/yargs": "^17.0.33",
"espower-typescript": "^10.0.1",
"gapic-tools": "^0.4.6",
"google-gax": "^4.4.0",
"gts": "^5.3.1",
"mocha": "^10.7.3",
"typescript": "5.1.6"
},
"engines": {
"node": ">=18"
}
}