1 | {
|
2 | "name": "@grpc/grpc-js",
|
3 | "version": "1.9.3",
|
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 | "@typescript-eslint/eslint-plugin": "^5.59.11",
|
26 | "@typescript-eslint/parser": "^5.59.11",
|
27 | "@typescript-eslint/typescript-estree": "^5.59.11",
|
28 | "clang-format": "^1.0.55",
|
29 | "eslint": "^8.42.0",
|
30 | "eslint-config-prettier": "^8.8.0",
|
31 | "eslint-plugin-node": "^11.1.0",
|
32 | "eslint-plugin-prettier": "^4.2.1",
|
33 | "execa": "^2.0.3",
|
34 | "gulp": "^4.0.2",
|
35 | "gulp-mocha": "^6.0.0",
|
36 | "lodash": "^4.17.4",
|
37 | "madge": "^5.0.1",
|
38 | "mocha-jenkins-reporter": "^0.4.1",
|
39 | "ncp": "^2.0.0",
|
40 | "pify": "^4.0.1",
|
41 | "prettier": "^2.8.8",
|
42 | "rimraf": "^3.0.2",
|
43 | "semver": "^7.3.5",
|
44 | "ts-node": "^10.9.1",
|
45 | "typescript": "^5.1.3"
|
46 | },
|
47 | "contributors": [
|
48 | {
|
49 | "name": "Google Inc."
|
50 | }
|
51 | ],
|
52 | "scripts": {
|
53 | "build": "npm run compile",
|
54 | "clean": "rimraf ./build",
|
55 | "compile": "tsc -p .",
|
56 | "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
|
57 | "lint": "eslint src/*.ts test/*.ts",
|
58 | "prepare": "npm run generate-types && npm run compile",
|
59 | "test": "gulp test",
|
60 | "check": "npm run lint",
|
61 | "fix": "eslint --fix src/*.ts test/*.ts",
|
62 | "pretest": "npm run generate-types && npm run generate-test-types && npm run compile",
|
63 | "posttest": "npm run check && madge -c ./build/src",
|
64 | "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",
|
65 | "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"
|
66 | },
|
67 | "dependencies": {
|
68 | "@grpc/proto-loader": "^0.7.8",
|
69 | "@types/node": ">=12.12.47"
|
70 | },
|
71 | "files": [
|
72 | "src/**/*.ts",
|
73 | "build/src/**/*.{js,d.ts,js.map}",
|
74 | "proto/*.proto",
|
75 | "LICENSE",
|
76 | "deps/envoy-api/envoy/api/v2/**/*.proto",
|
77 | "deps/envoy-api/envoy/config/**/*.proto",
|
78 | "deps/envoy-api/envoy/service/**/*.proto",
|
79 | "deps/envoy-api/envoy/type/**/*.proto",
|
80 | "deps/udpa/udpa/**/*.proto",
|
81 | "deps/googleapis/google/api/*.proto",
|
82 | "deps/googleapis/google/rpc/*.proto",
|
83 | "deps/protoc-gen-validate/validate/**/*.proto"
|
84 | ]
|
85 | }
|