diff options
author | 2016-04-07 14:57:21 -0700 | |
---|---|---|
committer | 2016-04-07 14:57:21 -0700 | |
commit | c236a213ee10f549d328840bc21c307eedd4b545 (patch) | |
tree | f5a51d8d8a94b66523e377fb1224b708c14bde94 /templates/src/node/tools/package.json.template | |
parent | 361be66c3d1b99e253cf00f8a1d466e87887a0b6 (diff) | |
parent | 2dc8442eeff523f7201b201022e5b684076bb6e2 (diff) |
Merge pull request #6109 from murgatroid99/node_grpc_tools_package
Created node tools package to distribute protoc and eventually the plugin
Diffstat (limited to 'templates/src/node/tools/package.json.template')
-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" + } |