Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@grpc/proto-loader",
  3. "version": "0.6.13",
  4. "author": "Google Inc.",
  5. "contributors": [
  6. {
  7. "name": "Michael Lumish",
  8. "email": "mlumish@google.com"
  9. }
  10. ],
  11. "description": "gRPC utility library for loading .proto files",
  12. "homepage": "https://grpc.io/",
  13. "main": "build/src/index.js",
  14. "typings": "build/src/index.d.ts",
  15. "scripts": {
  16. "build": "npm run compile",
  17. "clean": "rimraf ./build",
  18. "compile": "tsc -p .",
  19. "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
  20. "lint": "tslint -c node_modules/google-ts-style/tslint.json -p . -t codeFrame --type-check",
  21. "prepare": "npm run compile",
  22. "test": "gulp test",
  23. "check": "gts check",
  24. "fix": "gts fix",
  25. "pretest": "npm run compile",
  26. "posttest": "npm run check",
  27. "generate-golden": "node ./build/bin/proto-loader-gen-types.js --keepCase --longs=String --enums=String --defaults --oneofs --json --includeComments -I deps/gapic-showcase/schema/ deps/googleapis/ -O ./golden-generated --grpcLib @grpc/grpc-js google/showcase/v1beta1/echo.proto",
  28. "validate-golden": "rm -rf ./golden-generated-old && mv ./golden-generated/ ./golden-generated-old && npm run generate-golden && diff -rb ./golden-generated ./golden-generated-old"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "https://github.com/grpc/grpc-node.git"
  33. },
  34. "license": "Apache-2.0",
  35. "bugs": {
  36. "url": "https://github.com/grpc/grpc-node/issues"
  37. },
  38. "files": [
  39. "LICENSE",
  40. "build/src/*.d.ts",
  41. "build/src/*.js",
  42. "build/bin/*.js"
  43. ],
  44. "bin": {
  45. "proto-loader-gen-types": "./build/bin/proto-loader-gen-types.js"
  46. },
  47. "dependencies": {
  48. "@types/long": "^4.0.1",
  49. "lodash.camelcase": "^4.3.0",
  50. "long": "^4.0.0",
  51. "protobufjs": "^6.11.3",
  52. "yargs": "^16.2.0"
  53. },
  54. "devDependencies": {
  55. "@types/lodash.camelcase": "^4.3.4",
  56. "@types/mkdirp": "^1.0.1",
  57. "@types/mocha": "^5.2.7",
  58. "@types/node": "^10.17.26",
  59. "@types/yargs": "^16.0.4",
  60. "clang-format": "^1.2.2",
  61. "gts": "^1.1.0",
  62. "rimraf": "^3.0.2",
  63. "typescript": "~3.8.3"
  64. },
  65. "engines": {
  66. "node": ">=6"
  67. }
  68. }