暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "name": "protobufjs",
  3. "version": "6.11.3",
  4. "versionScheme": "~",
  5. "description": "Protocol Buffers for JavaScript (& TypeScript).",
  6. "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
  7. "license": "BSD-3-Clause",
  8. "repository": "protobufjs/protobuf.js",
  9. "bugs": "https://github.com/dcodeIO/protobuf.js/issues",
  10. "homepage": "https://protobufjs.github.io/protobuf.js/",
  11. "keywords": [
  12. "protobuf",
  13. "protocol-buffers",
  14. "serialization",
  15. "typescript"
  16. ],
  17. "main": "index.js",
  18. "types": "index.d.ts",
  19. "bin": {
  20. "pbjs": "bin/pbjs",
  21. "pbts": "bin/pbts"
  22. },
  23. "scripts": {
  24. "bench": "node bench",
  25. "build": "npm run build:bundle && npm run build:types",
  26. "build:bundle": "gulp --gulpfile scripts/gulpfile.js",
  27. "build: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",
  28. "changelog": "node scripts/changelog -w",
  29. "coverage": "nyc tape -r ./lib/tape-adapter tests/*.js tests/node/*.js",
  30. "docs": "jsdoc -c config/jsdoc.json -R README.md --verbose --pedantic",
  31. "lint": "npm run lint:sources && npm run lint:types",
  32. "lint:sources": "eslint \"**/*.js\" -c config/eslint.json",
  33. "lint:types": "tslint \"**/*.d.ts\" -e \"**/node_modules/**\" -t stylish -c config/tslint.json",
  34. "pages": "node scripts/pages",
  35. "prepublish": "node scripts/prepublish",
  36. "postinstall": "node scripts/postinstall",
  37. "prof": "node bench/prof",
  38. "test": "npm run test:sources && npm run test:types",
  39. "test:sources": "tape -r ./lib/tape-adapter tests/*.js tests/node/*.js",
  40. "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/*.ts --lib es2015 --noEmit --strictNullChecks",
  41. "make": "npm run lint:sources && npm run build && npm run lint:types && node ./scripts/gentests.js && npm test"
  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.1",
  55. "@types/node": ">=13.7.0",
  56. "long": "^4.0.0"
  57. },
  58. "devDependencies": {
  59. "benchmark": "^2.1.4",
  60. "browserify": "^17.0.0",
  61. "browserify-wrap": "^1.0.2",
  62. "bundle-collapser": "^1.3.0",
  63. "chalk": "^4.0.0",
  64. "escodegen": "^1.13.0",
  65. "espree": "^7.0.0",
  66. "eslint": "^8.15.0",
  67. "estraverse": "^5.1.0",
  68. "gh-pages": "^3.0.0",
  69. "git-raw-commits": "^2.0.3",
  70. "git-semver-tags": "^4.0.0",
  71. "glob": "^7.1.6",
  72. "google-protobuf": "^3.11.3",
  73. "gulp": "^4.0.2",
  74. "gulp-header": "^2.0.9",
  75. "gulp-if": "^3.0.0",
  76. "gulp-sourcemaps": "^2.6.5",
  77. "gulp-uglify": "^3.0.2",
  78. "jaguarjs-jsdoc": "github:dcodeIO/jaguarjs-jsdoc",
  79. "jsdoc": "^3.6.3",
  80. "minimist": "^1.2.0",
  81. "nyc": "^15.0.0",
  82. "reflect-metadata": "^0.1.13",
  83. "semver": "^7.1.2",
  84. "tape": "^5.0.0",
  85. "tmp": "^0.2.0",
  86. "tslint": "^6.0.0",
  87. "typescript": "^3.7.5",
  88. "uglify-js": "^3.7.7",
  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. }