murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 1 | %YAML 1.2 |
| 2 | --- | |
| 3 | { |
| 4 | "name": "grpc", |
murgatroid99 | b0162c4 | 2016-02-08 16:06:12 -0800 | [diff] [blame] | 5 | "version": "${settings.node_version}", |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 6 | "author": "Google Inc.", |
| 7 | "description": "gRPC Library for Node", |
| 8 | "homepage": "http://www.grpc.io/", |
| 9 | "repository": { |
| 10 | "type": "git", |
| 11 | "url": "https://github.com/grpc/grpc.git" |
| 12 | }, |
| 13 | "bugs": "https://github.com/grpc/grpc/issues", |
| 14 | "contributors": [ |
| 15 | { |
| 16 | "name": "Michael Lumish", |
| 17 | "email": "mlumish@google.com" |
| 18 | } |
| 19 | ], |
| 20 | "directories": { |
| 21 | "lib": "src/node/src" |
| 22 | }, |
| 23 | "scripts": { |
| 24 | "lint": "node ./node_modules/jshint/bin/jshint src/node/src src/node/test src/node/interop src/node/index.js", |
| 25 | "test": "./node_modules/.bin/mocha src/node/test && npm run-script lint", |
| 26 | "gen_docs": "./node_modules/.bin/jsdoc -c src/node/jsdoc_conf.json", |
murgatroid99 | e190f35 | 2016-01-20 13:52:08 -0800 | [diff] [blame] | 27 | "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha src/node/test", |
| 28 | "preinstall": "npm install node-pre-gyp", |
| 29 | "install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build" |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 30 | }, |
| 31 | "dependencies": { |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 32 | "lodash": "^3.9.3", |
| 33 | "nan": "^2.0.0", |
murgatroid99 | 7905a72 | 2016-01-15 15:28:22 -0800 | [diff] [blame] | 34 | "node-pre-gyp": "^0.6.19", |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 35 | "protobufjs": "^4.0.0" |
| 36 | }, |
| 37 | "devDependencies": { |
murgatroid99 | 5e7a9fe | 2016-01-07 13:33:39 -0800 | [diff] [blame] | 38 | "async": "^1.5.0", |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 39 | "google-auth-library": "^0.9.2", |
| 40 | "istanbul": "^0.3.21", |
| 41 | "jsdoc": "^3.3.2", |
| 42 | "jshint": "^2.5.0", |
| 43 | "minimist": "^1.1.0", |
murgatroid99 | 17e781a | 2016-01-04 15:24:53 -0800 | [diff] [blame] | 44 | "mocha": "^2.3.4", |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 45 | "mocha-jenkins-reporter": "^0.1.9", |
| 46 | "mustache": "^2.0.0", |
| 47 | "poisson-process": "^0.2.1" |
| 48 | }, |
| 49 | "engines": { |
murgatroid99 | 8c686e7 | 2016-02-10 10:59:22 -0800 | [diff] [blame^] | 50 | "node": ">=0.12.0" |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 51 | }, |
murgatroid99 | 7905a72 | 2016-01-15 15:28:22 -0800 | [diff] [blame] | 52 | "binary": { |
| 53 | "module_name": "grpc_node", |
| 54 | "module_path": "./build/Release/", |
murgatroid99 | e190f35 | 2016-01-20 13:52:08 -0800 | [diff] [blame] | 55 | "host": "https://storage.googleapis.com/", |
murgatroid99 | a3508e3 | 2016-01-20 13:58:24 -0800 | [diff] [blame] | 56 | "remote_path": "grpc-precompiled-binaries/node/{name}/v{version}", |
murgatroid99 | e190f35 | 2016-01-20 13:52:08 -0800 | [diff] [blame] | 57 | "package_name": "{node_abi}-{platform}-{arch}.tar.gz", |
| 58 | "module_path": "src/node/extension_binary" |
murgatroid99 | 7905a72 | 2016-01-15 15:28:22 -0800 | [diff] [blame] | 59 | }, |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 60 | "files": [ |
| 61 | "LICENSE", |
| 62 | "src/node/README.md", |
| 63 | "src/node/health_check", |
| 64 | "src/proto", |
| 65 | "etc", |
| 66 | % for module in node_modules: |
| 67 | % for file in module.headers + module.src + module.js: |
| 68 | "${file}", |
| 69 | % endfor |
| 70 | % for dep in module.transitive_deps: |
| 71 | % for lib in libs: |
| 72 | % if lib.name == dep: |
Sree Kuchibhotla | fa40cde | 2016-01-14 17:14:48 -0800 | [diff] [blame] | 73 | % for file in lib.get('public_headers', []) + lib.headers + lib.src: |
murgatroid99 | 0bb6fcf | 2015-12-21 16:11:27 -0800 | [diff] [blame] | 74 | "${file}", |
| 75 | % endfor |
| 76 | % endif |
| 77 | % endfor |
| 78 | % endfor |
| 79 | % endfor |
| 80 | "binding.gyp" |
| 81 | ], |
| 82 | "main": "src/node/index.js", |
| 83 | "license": "BSD-3-Clause" |
| 84 | } |