package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "name": "@apollo/protobufjs",
  3. "version": "1.2.2",
  4. "versionScheme": "~",
  5. "description": "Protocol Buffers for JavaScript (& TypeScript).",
  6. "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
  7. "license": "BSD-3-Clause",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/apollographql/protobuf.js.git"
  11. },
  12. "bugs": "https://github.com/apollographql/protobuf.js/issues",
  13. "homepage": "https://github.com/apollographql/protobuf.js",
  14. "keywords": [
  15. "protobuf",
  16. "protocol-buffers",
  17. "serialization",
  18. "typescript"
  19. ],
  20. "main": "index.js",
  21. "types": "index.d.ts",
  22. "bin": {
  23. "apollo-pbjs": "bin/pbjs",
  24. "apollo-pbts": "bin/pbts"
  25. },
  26. "scripts": {
  27. "bench": "node bench",
  28. "build": "gulp --gulpfile scripts/gulpfile.js",
  29. "changelog": "node scripts/changelog -w",
  30. "coverage": "istanbul --config=config/istanbul.json cover node_modules/tape/bin/tape tests/*.js tests/node/*.js",
  31. "docs": "jsdoc -c config/jsdoc.json -R README.md --verbose --pedantic",
  32. "lint": "eslint **/*.js -c config/eslint.json && tslint **/*.d.ts -e **/node_modules/** -t stylish -c config/tslint.json",
  33. "pages": "node scripts/pages",
  34. "prepublish": "node scripts/prepublish",
  35. "postinstall": "node scripts/postinstall",
  36. "prof": "node bench/prof",
  37. "test": "tape -r ./lib/tape-adapter tests/*.js tests/node/*.js",
  38. "test-types": "tsc tests/comp_typescript.ts --lib es2015 --strictNullChecks --experimentalDecorators --emitDecoratorMetadata && tsc tests/data/test.js.ts --lib es2015 --noEmit --strictNullChecks && tsc tests/data/rpc.ts --lib es2015 --noEmit --strictNullChecks",
  39. "types": "node bin/pbts --main --global protobuf --out index.d.ts src/ lib/aspromise/index.js lib/base64/index.js lib/codegen/index.js lib/eventemitter/index.js lib/float/index.js lib/fetch/index.js lib/inquire/index.js lib/path/index.js lib/pool/index.js lib/utf8/index.js && npm run test-types",
  40. "make": "npm run test && npm run types && npm run build && npm run lint",
  41. "release": "npm run make && npm run changelog"
  42. },
  43. "dependencies": {
  44. "@protobufjs/aspromise": "^1.1.2",
  45. "@protobufjs/base64": "^1.1.2",
  46. "@protobufjs/codegen": "^2.0.4",
  47. "@protobufjs/eventemitter": "^1.1.0",
  48. "@protobufjs/fetch": "^1.1.0",
  49. "@protobufjs/float": "^1.0.2",
  50. "@protobufjs/inquire": "^1.1.0",
  51. "@protobufjs/path": "^1.1.2",
  52. "@protobufjs/pool": "^1.1.0",
  53. "@protobufjs/utf8": "^1.1.0",
  54. "@types/long": "^4.0.0",
  55. "@types/node": "^10.1.0",
  56. "long": "^4.0.0"
  57. },
  58. "devDependencies": {
  59. "benchmark": "^2.1.4",
  60. "browserify": "^16.2.3",
  61. "browserify-wrap": "^1.0.2",
  62. "bundle-collapser": "^1.3.0",
  63. "chalk": "^2.4.1",
  64. "escodegen": "^1.9.1",
  65. "eslint": "^4.19.1",
  66. "espree": "^3.5.4",
  67. "estraverse": "^4.2.0",
  68. "gh-pages": "^1.2.0",
  69. "git-raw-commits": "^1.3.6",
  70. "git-semver-tags": "^1.3.6",
  71. "glob": "^7.1.2",
  72. "google-protobuf": "^3.5.0",
  73. "gulp": "^4.0.0",
  74. "gulp-header": "^2.0.5",
  75. "gulp-if": "^2.0.1",
  76. "gulp-sourcemaps": "^2.6.4",
  77. "gulp-uglify": "^3.0.0",
  78. "istanbul": "^0.4.5",
  79. "jaguarjs-jsdoc": "github:dcodeIO/jaguarjs-jsdoc",
  80. "jsdoc": "^3.6.3",
  81. "minimist": "^1.2.0",
  82. "reflect-metadata": "^0.1.12",
  83. "semver": "^5.5.0",
  84. "tape": "^4.9.0",
  85. "tmp": "0.0.33",
  86. "tslint": "^5.10.0",
  87. "typescript": "^2.8.3",
  88. "uglify-js": "^3.3.25",
  89. "vinyl-buffer": "^1.0.1",
  90. "vinyl-fs": "^3.0.3",
  91. "vinyl-source-stream": "^2.0.0"
  92. },
  93. "cliDependencies": [
  94. "semver",
  95. "chalk",
  96. "glob",
  97. "jsdoc",
  98. "minimist",
  99. "tmp",
  100. "uglify-js",
  101. "espree",
  102. "escodegen",
  103. "estraverse"
  104. ],
  105. "files": [
  106. "index.js",
  107. "index.d.ts",
  108. "light.d.ts",
  109. "light.js",
  110. "minimal.d.ts",
  111. "minimal.js",
  112. "package-lock.json",
  113. "tsconfig.json",
  114. "scripts/postinstall.js",
  115. "bin/**",
  116. "cli/**",
  117. "dist/**",
  118. "ext/**",
  119. "google/**",
  120. "src/**"
  121. ]
  122. }