UNPKG

nice-grpc-web

Version:

A Browser gRPC library that is nice to you

84 lines (83 loc) 3.16 kB
{ "name": "nice-grpc-web", "version": "3.3.10", "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 tsx ./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.13", "@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.5.14", "@wdio/browser-runner": "~8.39.1", "@wdio/browserstack-service": "^9.2.6", "@wdio/cli": "^9.21.1", "@wdio/mocha-framework": "^9.0.8", "@wdio/spec-reporter": "^9.0.7", "assert-never": "^1.2.1", "chromedriver": "^136.0.0", "cpr": "^3.0.1", "detect-browser": "^5.3.0", "expect": "^30.3.0", "get-port": "^5.1.1", "glob": "^13.0.6", "google-protobuf": "^3.17.3", "grpc-tools": "^1.13.1", "just-cartesian-product": "^4.2.0", "mkdirp": "^3.0.1", "mocha": "^11.7.5", "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": "^11.9.0", "ts-proto": "^2.5.1", "ts-protoc-gen": "^0.15.0", "tsx": "^4.19.0", "unzipper": "^0.12.1", "ws": "^8.18.1" }, "dependencies": { "abort-controller-x": "^0.5.0", "isomorphic-ws": "^5.0.0", "js-base64": "^3.7.2", "nice-grpc-common": "^2.0.3" }, "gitHead": "b9069199129e2327bca0451e327371552e790bb0" }