UNPKG

nice-grpc-web

Version:

A Browser gRPC library that is nice to you

83 lines (82 loc) 3.14 kB
{ "name": "nice-grpc-web", "version": "3.3.7", "description": "A Browser gRPC library that is nice to you", "keywords": [ "grpc", "grpc-web", "promise", "async-iterable", "abort-controller", "abort-signal", "typescript" ], "repository": "deeplay-io/nice-grpc", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ "lib", "src", "!src/**/*.test.ts", "!src/**/__tests__" ], "scripts": { "clean": "rimraf lib", "test": "NODE_TLS_REJECT_UNAUTHORIZED=0 ts-node ./run-specs-mocha.ts", "test:local-browser": "wdio run ./wdio.conf.ts", "test:local-browser-headless": "USE_HEADLESS_BROWSER=true wdio run ./wdio.conf.ts", "test:browserstack": "USE_BROWSERSTACK=true wdio run ./wdio.conf.ts", "build": "tsc -P tsconfig.build.json && cpr -f '\\.(ts|tsx|snap)$' src lib", "prepublishOnly": "npm run clean && npm run build && npm test", "prepare:grpcwebproxy": "path-exists grpcwebproxy || node scripts/download-grpcwebproxy.js", "prepare:proto:grpc-web": "mkdirp ./fixtures/grpc-web && grpc_tools_node_protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./fixtures/grpc-web --ts_out=service=grpc-web:./fixtures/grpc-web -I fixtures fixtures/*.proto", "prepare:proto:ts-proto": "mkdirp ./fixtures/ts-proto && grpc_tools_node_protoc --ts_proto_out=./fixtures/ts-proto --ts_proto_opt=outputServices=nice-grpc,outputServices=generic-definitions,outputJsonMethods=false,useExactTypes=false,esModuleInterop=true -I fixtures fixtures/*.proto", "prepare:proto": "npm run prepare:proto:grpc-web && npm run prepare:proto:ts-proto", "prepare": "npm run prepare:grpcwebproxy && npm run prepare:proto" }, "author": "Daniel Lytkin <aikoven@deeplay.io>", "license": "MIT", "devDependencies": { "@improbable-eng/grpc-web": "^0.15.0", "@tsconfig/recommended": "^1.0.1", "@types/get-port": "^4.2.0", "@types/google-protobuf": "^3.15.2", "@types/tcp-port-used": "^1.0.0", "@types/tmp": "^0.2.3", "@types/ws": "^8.2.2", "@wdio/browser-runner": "^8.32.4", "@wdio/browserstack-service": "^9.2.6", "@wdio/cli": "^9.2.6", "@wdio/mocha-framework": "^9.0.8", "@wdio/spec-reporter": "^9.0.7", "assert-never": "^1.2.1", "chromedriver": "^132.0.2", "cpr": "^3.0.1", "detect-browser": "^5.3.0", "get-port": "^5.1.1", "glob": "^10.3.10", "google-protobuf": "^3.17.3", "grpc-tools": "^1.12.4", "just-cartesian-product": "^4.2.0", "mkdirp": "^3.0.1", "mocha": "^11.1.0", "path-exists-cli": "^2.0.0", "request": "^2.88.2", "selfsigned": "^2.1.1", "string-env-interpolation": "^1.0.1", "tcp-port-used": "^1.0.2", "testcontainers": "^10.2.1", "ts-node": "^10.9.2", "ts-proto": "^2.5.1", "ts-protoc-gen": "^0.15.0", "unzipper": "^0.12.1", "ws": "^8.4.2" }, "dependencies": { "abort-controller-x": "^0.4.0", "isomorphic-ws": "^5.0.0", "js-base64": "^3.7.2", "nice-grpc-common": "^2.0.2" }, "gitHead": "7458e8a57aec763d854c2e6eb119bfe6820b17dd" }