1 | {
|
2 | "name": "@grpc/grpc-js",
|
3 | "version": "1.8.13",
|
4 | "description": "gRPC Library for Node - pure JS implementation",
|
5 | "homepage": "https://grpc.io/",
|
6 | "repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
7 | "main": "build/src/index.js",
|
8 | "engines": {
|
9 | "node": "^8.13.0 || >=10.10.0"
|
10 | },
|
11 | "keywords": [],
|
12 | "author": {
|
13 | "name": "Google Inc."
|
14 | },
|
15 | "types": "build/src/index.d.ts",
|
16 | "license": "Apache-2.0",
|
17 | "devDependencies": {
|
18 | "@types/gulp": "^4.0.6",
|
19 | "@types/gulp-mocha": "0.0.32",
|
20 | "@types/lodash": "^4.14.186",
|
21 | "@types/mocha": "^5.2.6",
|
22 | "@types/ncp": "^2.0.1",
|
23 | "@types/pify": "^3.0.2",
|
24 | "@types/semver": "^7.3.9",
|
25 | "clang-format": "^1.0.55",
|
26 | "execa": "^2.0.3",
|
27 | "gts": "^3.1.1",
|
28 | "gulp": "^4.0.2",
|
29 | "gulp-mocha": "^6.0.0",
|
30 | "lodash": "^4.17.4",
|
31 | "madge": "^5.0.1",
|
32 | "mocha-jenkins-reporter": "^0.4.1",
|
33 | "ncp": "^2.0.0",
|
34 | "pify": "^4.0.1",
|
35 | "rimraf": "^3.0.2",
|
36 | "semver": "^7.3.5",
|
37 | "ts-node": "^8.3.0",
|
38 | "typescript": "^4.8.4"
|
39 | },
|
40 | "contributors": [
|
41 | {
|
42 | "name": "Google Inc."
|
43 | }
|
44 | ],
|
45 | "scripts": {
|
46 | "build": "npm run compile",
|
47 | "clean": "rimraf ./build",
|
48 | "compile": "tsc -p .",
|
49 | "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
|
50 | "lint": "npm run check",
|
51 | "prepare": "npm run generate-types && npm run compile",
|
52 | "test": "gulp test",
|
53 | "check": "gts check src/**/*.ts",
|
54 | "fix": "gts fix src/*.ts",
|
55 | "pretest": "npm run generate-types && npm run generate-test-types && npm run compile",
|
56 | "posttest": "npm run check && madge -c ./build/src",
|
57 | "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ --include-dirs test/fixtures/ -O src/generated/ --grpcLib ../index channelz.proto",
|
58 | "generate-test-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --include-dirs test/fixtures/ -O test/generated/ --grpcLib ../../src/index test_service.proto"
|
59 | },
|
60 | "dependencies": {
|
61 | "@grpc/proto-loader": "^0.7.0",
|
62 | "@types/node": ">=12.12.47"
|
63 | },
|
64 | "files": [
|
65 | "src/**/*.ts",
|
66 | "build/src/**/*.{js,d.ts,js.map}",
|
67 | "proto/*.proto",
|
68 | "LICENSE",
|
69 | "deps/envoy-api/envoy/api/v2/**/*.proto",
|
70 | "deps/envoy-api/envoy/config/**/*.proto",
|
71 | "deps/envoy-api/envoy/service/**/*.proto",
|
72 | "deps/envoy-api/envoy/type/**/*.proto",
|
73 | "deps/udpa/udpa/**/*.proto",
|
74 | "deps/googleapis/google/api/*.proto",
|
75 | "deps/googleapis/google/rpc/*.proto",
|
76 | "deps/protoc-gen-validate/validate/**/*.proto"
|
77 | ]
|
78 | }
|