diff options
author | murgatroid99 <mlumish@google.com> | 2016-04-06 14:39:52 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-04-06 14:39:52 -0700 |
commit | 2dc8442eeff523f7201b201022e5b684076bb6e2 (patch) | |
tree | 5c4c94b618934e6591327b92796d562d647513c7 /templates | |
parent | 39a96967f1b003391b02317bf7c6fb003edc4722 (diff) |
Created node tools package to distribute protoc and eventually the plugin
Diffstat (limited to 'templates')
-rw-r--r-- | templates/src/node/tools/package.json.template | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/src/node/tools/package.json.template b/templates/src/node/tools/package.json.template new file mode 100644 index 0000000000..c69de7c989 --- /dev/null +++ b/templates/src/node/tools/package.json.template @@ -0,0 +1,40 @@ +%YAML 1.2 +--- | + { + "name": "grpc-tools", + "version": "${settings.node_version}", + "author": "Google Inc.", + "description": "Tools for developing with gRPC on Node.js", + "homepage": "http://www.grpc.io/", + "repository": { + "type": "git", + "url": "https://github.com/grpc/grpc.git" + }, + "bugs": "https://github.com/grpc/grpc/issues", + "contributors": [ + { + "name": "Michael Lumish", + "email": "mlumish@google.com" + } + ], + "bin": { + "grpc-tools-protoc": "./bin/protoc.js" + }, + "scripts": { + "install": "./node_modules/.bin/node-pre-gyp install" + }, + "bundledDependencies": ["node-pre-gyp"], + "binary": { + "module_name": "grpc_tools", + "host": "https://storage.googleapis.com/", + "remote_path": "grpc-precompiled-binaries/node/{name}/v{version}", + "package_name": "{platform}-{arch}.tar.gz", + "module_path": "bin" + }, + "files": [ + "index.js", + "bin/protoc.js", + "LICENSE" + ], + "main": "index.js" + } |