Skip to content

Commit

Permalink
Ship a protoc-gen-ts_proto.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenh committed Apr 5, 2019
1 parent d7f111f commit ac47237
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"version": "1.0.5",
"description": "",
"main": "build/plugin.js",
"bin": {
"protoc-gen-ts_proto": "./protoc-gen-ts_proto"
},
"scripts": {
"prepare": "yarn build && yarn test",
"build": "yarn tsc",
"setup": "./pbjs.sh && mkdir -p build/integration && ./update_proto_bins.sh && yarn codegen",
"codegen": "mkdir -p build/integration && yarn ts-node integration/setup.ts",
"test": "yarn jest -c jest.config.js"
Expand Down
2 changes: 2 additions & 0 deletions protoc-gen-ts_proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('./build/plugin')

0 comments on commit ac47237

Please sign in to comment.