package.json.template 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %YAML 1.2
  2. --- |
  3. {
  4. "name": "grpc",
  5. "version": "${settings.node_version}",
  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 --exclude-path=src/node/.jshintignore",
  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. "install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build"
  29. },
  30. "bundledDependencies": ["node-pre-gyp"],
  31. "dependencies": {
  32. "arguejs": "^0.2.3",
  33. "lodash": "^3.9.3",
  34. "nan": "^2.0.0",
  35. "protobufjs": "^4.0.0"
  36. },
  37. "devDependencies": {
  38. "async": "^1.5.0",
  39. "google-auth-library": "^0.9.2",
  40. "google-protobuf": "^3.0.0",
  41. "istanbul": "^0.3.21",
  42. "jsdoc": "^3.3.2",
  43. "jshint": "^2.5.0",
  44. "minimist": "^1.1.0",
  45. "mocha": "^2.3.4",
  46. "mocha-jenkins-reporter": "^0.1.9",
  47. "mustache": "^2.0.0",
  48. "poisson-process": "^0.2.1"
  49. },
  50. "engines": {
  51. "node": ">=0.12.0"
  52. },
  53. "binary": {
  54. "module_name": "grpc_node",
  55. "module_path": "./build/Release/",
  56. "host": "https://storage.googleapis.com/",
  57. "remote_path": "grpc-precompiled-binaries/node/{name}/v{version}",
  58. "package_name": "{node_abi}-{platform}-{arch}.tar.gz",
  59. "module_path": "src/node/extension_binary"
  60. },
  61. "files": [
  62. "LICENSE",
  63. "src/node/README.md",
  64. "src/proto",
  65. "etc",
  66. "src/node/index.js",
  67. "src/node/src",
  68. "src/node/ext",
  69. "include/grpc",
  70. "src/core",
  71. "src/boringssl",
  72. "src/zlib",
  73. "third_party/nanopb",
  74. "third_party/zlib",
  75. "third_party/boringssl",
  76. "binding.gyp"
  77. ],
  78. "main": "src/node/index.js",
  79. "license": "BSD-3-Clause",
  80. "jshintConfig" : {
  81. "bitwise": true,
  82. "curly": true,
  83. "eqeqeq": true,
  84. "esnext": true,
  85. "freeze": true,
  86. "immed": true,
  87. "indent": 2,
  88. "latedef": "nofunc",
  89. "maxlen": 80,
  90. "mocha": true,
  91. "newcap": true,
  92. "node": true,
  93. "noarg": true,
  94. "quotmark": "single",
  95. "strict": true,
  96. "trailing": true,
  97. "undef": true,
  98. "unused": "vars"
  99. }
  100. }