Skip to content

Commit ac47237

Browse files
committed
Ship a protoc-gen-ts_proto.
1 parent d7f111f commit ac47237

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"version": "1.0.5",
44
"description": "",
55
"main": "build/plugin.js",
6+
"bin": {
7+
"protoc-gen-ts_proto": "./protoc-gen-ts_proto"
8+
},
69
"scripts": {
10+
"prepare": "yarn build && yarn test",
11+
"build": "yarn tsc",
712
"setup": "./pbjs.sh && mkdir -p build/integration && ./update_proto_bins.sh && yarn codegen",
813
"codegen": "mkdir -p build/integration && yarn ts-node integration/setup.ts",
914
"test": "yarn jest -c jest.config.js"

protoc-gen-ts_proto

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env node
2+
require('./build/plugin')

0 commit comments

Comments
 (0)