package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "name": "@jsonjoy.com/json-pack",
  3. "version": "1.1.1",
  4. "description": "High-performance JSON serialization library",
  5. "author": {
  6. "name": "streamich",
  7. "url": "https://github.com/streamich"
  8. },
  9. "homepage": "https://github.com/jsonjoy-com/json-pack",
  10. "repository": "jsonjoy-com/json-pack",
  11. "license": "Apache-2.0",
  12. "funding": {
  13. "type": "github",
  14. "url": "https://github.com/sponsors/streamich"
  15. },
  16. "keywords": [
  17. "json",
  18. "cbor",
  19. "dag-json",
  20. "dag-cbor",
  21. "pack",
  22. "msgpack",
  23. "MessagePack",
  24. "json-pack",
  25. "ubjson",
  26. "bencode",
  27. "ion",
  28. "amazon-ion",
  29. "bson",
  30. "resp",
  31. "resp3",
  32. "redis",
  33. "resp-3",
  34. "resp2"
  35. ],
  36. "engines": {
  37. "node": ">=10.0"
  38. },
  39. "main": "lib/index.js",
  40. "types": "lib/index.d.ts",
  41. "typings": "lib/index.d.ts",
  42. "files": [
  43. "LICENSE",
  44. "lib/"
  45. ],
  46. "scripts": {
  47. "prettier": "prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"",
  48. "prettier:check": "prettier --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'",
  49. "lint": "yarn tslint",
  50. "tslint": "tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .",
  51. "clean": "rimraf lib typedocs coverage gh-pages yarn-error.log",
  52. "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
  53. "jest": "node -r ts-node/register ./node_modules/.bin/jest",
  54. "test": "jest --maxWorkers 7",
  55. "test:ci": "yarn jest --maxWorkers 3 --no-cache",
  56. "coverage": "yarn test --collectCoverage",
  57. "typedoc": "typedoc",
  58. "build:pages": "rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
  59. "deploy:pages": "gh-pages -d gh-pages",
  60. "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"
  61. },
  62. "peerDependencies": {
  63. "tslib": "2"
  64. },
  65. "dependencies": {
  66. "@jsonjoy.com/base64": "^1.1.1",
  67. "@jsonjoy.com/util": "^1.1.2",
  68. "hyperdyperid": "^1.2.0",
  69. "thingies": "^1.20.0"
  70. },
  71. "devDependencies": {
  72. "@msgpack/msgpack": "^3.0.0-beta2",
  73. "@redis/client": "^1.5.12",
  74. "@shelacek/ubjson": "^1.1.1",
  75. "@types/benchmark": "^2.1.2",
  76. "@types/jest": "^29.5.12",
  77. "app-root-path": "^3.1.0",
  78. "axios": "^1.3.5",
  79. "base64-js": "^1.5.1",
  80. "benchmark": "^2.1.4",
  81. "bson": "^5.4.0",
  82. "cbor": "^9.0.2",
  83. "cbor-js": "^0.1.0",
  84. "cbor-sync": "^1.0.4",
  85. "cbor-x": "^1.5.9",
  86. "cborg": "^2.0.3",
  87. "fast-safe-stringify": "^2.1.1",
  88. "fast-stable-stringify": "^1.0.0",
  89. "fastest-stable-stringify": "^2.0.2",
  90. "gh-pages": "^5.0.0",
  91. "ion-js": "^4.3.0",
  92. "jest": "^29.7.0",
  93. "js-base64": "^3.7.2",
  94. "jsbi": "^4.3.0",
  95. "json-pack-napi": "^0.0.2",
  96. "messagepack": "^1.1.12",
  97. "msgpack-lite": "^0.1.26",
  98. "msgpack5": "^6.0.2",
  99. "msgpackr": "^1.6.0",
  100. "pako": "^2.0.4",
  101. "prettier": "^3.2.5",
  102. "pretty-quick": "^3.1.3",
  103. "redis-parser": "^3.0.0",
  104. "rimraf": "^5.0.0",
  105. "safe-stable-stringify": "^2.3.1",
  106. "secure-json-parse": "^2.4.0",
  107. "tinybench": "^2.4.0",
  108. "ts-jest": "^29.1.2",
  109. "ts-loader": "^9.5.1",
  110. "ts-node": "^10.9.2",
  111. "tslib": "^2.6.2",
  112. "tslint": "^6.1.3",
  113. "tslint-config-common": "^1.6.2",
  114. "typedoc": "^0.25.12",
  115. "typescript": "^5.3.3"
  116. },
  117. "jest": {
  118. "verbose": true,
  119. "testEnvironmentOptions": {
  120. "url": "http://localhost/"
  121. },
  122. "setupFiles": [
  123. "<rootDir>/src/__tests__/setup.js"
  124. ],
  125. "moduleFileExtensions": [
  126. "ts",
  127. "js"
  128. ],
  129. "transform": {
  130. "^.+\\.ts$": "ts-jest"
  131. },
  132. "transformIgnorePatterns": [],
  133. "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"
  134. },
  135. "prettier": {
  136. "arrowParens": "always",
  137. "printWidth": 120,
  138. "tabWidth": 2,
  139. "useTabs": false,
  140. "semi": true,
  141. "singleQuote": true,
  142. "trailingComma": "all",
  143. "bracketSpacing": false
  144. }
  145. }