package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "@apollo/protobufjs",
  3. "version": "1.2.7",
  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. "exports": {
  23. ".": "./index.js",
  24. "./minimal": "./minimal.js"
  25. },
  26. "bin": {
  27. "apollo-pbjs": "bin/pbjs",
  28. "apollo-pbts": "bin/pbts"
  29. },
  30. "scripts": {
  31. "bench": "node bench",
  32. "build": "gulp --gulpfile scripts/gulpfile.js",
  33. "changelog": "node scripts/changelog -w",
  34. "coverage": "istanbul --config=config/istanbul.json cover node_modules/tape/bin/tape tests/*.js tests/node/*.js",
  35. "docs": "jsdoc -c config/jsdoc.json -R README.md --verbose --pedantic",
  36. "lint": "eslint **/*.js -c config/eslint.json && tslint **/*.d.ts -e **/node_modules/** -t stylish -c config/tslint.json",
  37. "pages": "node scripts/pages",
  38. "prepublish": "node scripts/prepublish",
  39. "postinstall": "node scripts/postinstall",
  40. "prof": "node bench/prof",
  41. "test": "ENABLE_LONG=t tape -r ./lib/tape-adapter tests/*.js tests/node/*.js",
  42. "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",
  43. "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",
  44. "make": "npm run test && npm run types && npm run build && npm run lint",
  45. "release": "npm run make && npm run changelog"
  46. },
  47. "dependencies": {
  48. "@protobufjs/aspromise": "^1.1.2",
  49. "@protobufjs/base64": "^1.1.2",
  50. "@protobufjs/codegen": "^2.0.4",
  51. "@protobufjs/eventemitter": "^1.1.0",
  52. "@protobufjs/fetch": "^1.1.0",
  53. "@protobufjs/float": "^1.0.2",
  54. "@protobufjs/inquire": "^1.1.0",
  55. "@protobufjs/path": "^1.1.2",
  56. "@protobufjs/pool": "^1.1.0",
  57. "@protobufjs/utf8": "^1.1.0",
  58. "@types/long": "^4.0.0",
  59. "long": "^4.0.0"
  60. },
  61. "devDependencies": {
  62. "benchmark": "^2.1.4",
  63. "browserify": "^16.2.3",
  64. "browserify-wrap": "^1.0.2",
  65. "bundle-collapser": "^1.3.0",
  66. "chalk": "^2.4.1",
  67. "escodegen": "^1.9.1",
  68. "eslint": "^4.19.1",
  69. "espree": "^3.5.4",
  70. "estraverse": "^4.2.0",
  71. "gh-pages": "^1.2.0",
  72. "git-raw-commits": "^1.3.6",
  73. "git-semver-tags": "^1.3.6",
  74. "glob": "^7.1.2",
  75. "google-protobuf": "^3.5.0",
  76. "gulp": "^4.0.0",
  77. "gulp-header": "^2.0.5",
  78. "gulp-if": "^2.0.1",
  79. "gulp-sourcemaps": "^2.6.4",
  80. "gulp-uglify": "^3.0.0",
  81. "istanbul": "^0.4.5",
  82. "jaguarjs-jsdoc": "github:dcodeIO/jaguarjs-jsdoc",
  83. "jsdoc": "^3.6.3",
  84. "minimist": "^1.2.0",
  85. "reflect-metadata": "^0.1.12",
  86. "semver": "^5.5.0",
  87. "tape": "^4.9.0",
  88. "tmp": "0.0.33",
  89. "tslint": "^5.10.0",
  90. "typescript": "^2.8.3",
  91. "uglify-js": "^3.3.25",
  92. "vinyl-buffer": "^1.0.1",
  93. "vinyl-fs": "^3.0.3",
  94. "vinyl-source-stream": "^2.0.0"
  95. },
  96. "cliDependencies": [
  97. "semver",
  98. "chalk",
  99. "glob",
  100. "jsdoc",
  101. "minimist",
  102. "tmp",
  103. "uglify-js",
  104. "espree",
  105. "escodegen",
  106. "estraverse"
  107. ],
  108. "files": [
  109. "index.js",
  110. "index.d.ts",
  111. "light.d.ts",
  112. "light.js",
  113. "minimal.d.ts",
  114. "minimal.js",
  115. "package-lock.json",
  116. "tsconfig.json",
  117. "scripts/postinstall.js",
  118. "bin/**",
  119. "cli/**",
  120. "dist/**",
  121. "ext/**",
  122. "google/**",
  123. "src/**",
  124. "!**/package-lock.json"
  125. ]
  126. }