package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "tsbuffer-schema",
  3. "version": "2.2.0",
  4. "description": "TSBuffer schema declarations",
  5. "main": "index.js",
  6. "exports": {
  7. "require": "./index.js",
  8. "import": "./index.mjs"
  9. },
  10. "typings": "index.d.ts",
  11. "scripts": {
  12. "bp": "tsc --noEmit && npm version patch && npm run build && cd dist && npm publish && cd ..",
  13. "build": "npm run build:js && npm run build:dts && npm run build:doc && cp package.json LICENSE README.md dist/",
  14. "build:js": "rm -rf dist && npx rollup -c",
  15. "build:dts": "rm -rf lib && npx tsc && npx api-extractor run --local --verbose && node scripts/removePrivate.js && rm -rf lib",
  16. "build:doc": "rm -rf docs/api && npx api-documenter markdown --input temp --output docs/api"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://github.com/k8w/tsbuffer-schema.git"
  21. },
  22. "keywords": [
  23. "TSBuffer",
  24. "tsbuf",
  25. "buffer",
  26. "k8w",
  27. "protobuf",
  28. "TypeScript",
  29. "interface",
  30. "serialization",
  31. "JSON",
  32. "schema",
  33. "序列化",
  34. "binary",
  35. "encoding"
  36. ],
  37. "author": "k8w",
  38. "license": "MIT",
  39. "bugs": {
  40. "url": "https://github.com/k8w/tsbuffer-schema/issues"
  41. },
  42. "homepage": "https://github.com/k8w/tsbuffer#readme",
  43. "devDependencies": {
  44. "@microsoft/api-documenter": "^7.13.63",
  45. "@microsoft/api-extractor": "^7.18.16",
  46. "rollup": "^2.58.0",
  47. "rollup-plugin-typescript2": "^0.30.0",
  48. "typedoc": "^0.22.5",
  49. "typescript": "^4.4.4"
  50. }
  51. }