package.json.template 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %YAML 1.2
  2. --- |
  3. {
  4. "name": "grpc",
  5. "version": "0.12.0",
  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",
  27. "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha src/node/test"
  28. },
  29. "dependencies": {
  30. "bindings": "^1.2.0",
  31. "lodash": "^3.9.3",
  32. "nan": "^2.0.0",
  33. "protobufjs": "^4.0.0"
  34. },
  35. "devDependencies": {
  36. "async": "^1.5.0",
  37. "google-auth-library": "^0.9.2",
  38. "istanbul": "^0.3.21",
  39. "jsdoc": "^3.3.2",
  40. "jshint": "^2.5.0",
  41. "minimist": "^1.1.0",
  42. "mocha": "^2.3.4",
  43. "mocha-jenkins-reporter": "^0.1.9",
  44. "mustache": "^2.0.0",
  45. "poisson-process": "^0.2.1"
  46. },
  47. "engines": {
  48. "node": ">=0.10.13"
  49. },
  50. "files": [
  51. "LICENSE",
  52. "src/node/README.md",
  53. "src/node/health_check",
  54. "src/proto",
  55. "etc",
  56. % for module in node_modules:
  57. % for file in module.headers + module.src + module.js:
  58. "${file}",
  59. % endfor
  60. % for dep in module.transitive_deps:
  61. % for lib in libs:
  62. % if lib.name == dep:
  63. % for file in lib.get('public_headers', []) + lib.headers + lib.src:
  64. "${file}",
  65. % endfor
  66. % endif
  67. % endfor
  68. % endfor
  69. % endfor
  70. "binding.gyp"
  71. ],
  72. "main": "src/node/index.js",
  73. "license": "BSD-3-Clause"
  74. }