UNPKG

@protobuf-ts/plugin

Version:

The protocol buffer compiler plugin "protobuf-ts" generates TypeScript, gRPC-web, Twirp, and more.

58 lines (57 loc) 1.79 kB
{ "name": "@protobuf-ts/plugin", "version": "2.11.1", "description": "The protocol buffer compiler plugin \"protobuf-ts\" generates TypeScript, gRPC-web, Twirp, and more.", "scripts": { "clean": "rm -rf build/* *.descriptorset *.codegenreq", "generate": "npm run generate:options && npm run generate:test-descriptors", "generate:options": "buf generate", "generate:test-descriptors": "buf build ../proto --as-file-descriptor-set --output \"descriptors.binpb\"", "build": "tsc --project tsconfig.build.json || true", "test": "ts-node --project tsconfig.test.json ../../node_modules/.bin/jasmine --helper=spec/jasmine-reporter.ts spec/*.spec.ts" }, "bin": { "protoc-gen-ts": "./bin/protoc-gen-ts", "protoc-gen-dump": "./bin/protoc-gen-dump" }, "license": "Apache-2.0", "author": "Timo Stamm <ts@timostamm.com>", "homepage": "https://github.com/timostamm/protobuf-ts", "keywords": [ "Protocol Buffers", "protobuf", "TypeScript", "protoc", "bigint", "gRPC-web", "gRPC", "Twirp", "Reflection" ], "repository": { "type": "git", "url": "https://github.com/timostamm/protobuf-ts.git", "directory": "packages/plugin" }, "publishConfig": { "access": "public" }, "devDependencies": { "@bufbuild/buf": "^1.53.0", "@bufbuild/protoc-gen-es": "^2.4.0", "@types/jasmine": "^3.5.10", "@types/node": "^14.0.13", "jasmine": "^3.5.0", "jasmine-spec-reporter": "^5.0.2", "ts-node": "^8.10.2", "tslib": ">=1.6.1" }, "dependencies": { "@bufbuild/protobuf": "^2.4.0", "@bufbuild/protoplugin": "^2.4.0", "@protobuf-ts/protoc": "^2.11.1", "@protobuf-ts/runtime": "^2.11.1", "@protobuf-ts/runtime-rpc": "^2.11.1", "typescript": "^3.9" } }