package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "@jsonjoy.com/buffers",
  3. "publishConfig": {
  4. "access": "public"
  5. },
  6. "version": "17.65.0",
  7. "description": "Various helper utilities for working with buffers and binary data",
  8. "author": {
  9. "name": "streamich",
  10. "url": "https://github.com/streamich"
  11. },
  12. "homepage": "https://github.com/jsonjoy-com/buffers",
  13. "repository": "jsonjoy-com/buffers",
  14. "license": "Apache-2.0",
  15. "funding": {
  16. "type": "github",
  17. "url": "https://github.com/sponsors/streamich"
  18. },
  19. "keywords": [
  20. "buffer",
  21. "buffers",
  22. "uint8array",
  23. "binary",
  24. "utf8",
  25. "string",
  26. "encoding",
  27. "decoding",
  28. "reader",
  29. "writer",
  30. "streaming"
  31. ],
  32. "engines": {
  33. "node": ">=10.0"
  34. },
  35. "main": "lib/index.js",
  36. "types": "lib/index.d.ts",
  37. "typings": "lib/index.d.ts",
  38. "files": [
  39. "LICENSE",
  40. "lib/"
  41. ],
  42. "scripts": {
  43. "clean": "rimraf lib typedocs coverage gh-pages yarn-error.log",
  44. "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
  45. "jest": "node -r ts-node/register ./node_modules/.bin/jest",
  46. "test": "jest --maxWorkers 7",
  47. "test:ci": "yarn jest --maxWorkers 3 --no-cache",
  48. "coverage": "yarn test --collectCoverage",
  49. "typedoc": "typedoc",
  50. "build:pages": "rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
  51. "deploy:pages": "gh-pages -d gh-pages",
  52. "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages",
  53. "typecheck": "tsc -p ."
  54. },
  55. "jest": {
  56. "preset": "ts-jest",
  57. "testEnvironment": "node",
  58. "moduleFileExtensions": [
  59. "ts",
  60. "js",
  61. "tsx"
  62. ],
  63. "transform": {
  64. "^.+\\.tsx?$": "ts-jest"
  65. },
  66. "transformIgnorePatterns": [
  67. ".*/node_modules/.*"
  68. ],
  69. "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$",
  70. "rootDir": ".",
  71. "testPathIgnorePatterns": [
  72. "node_modules"
  73. ]
  74. },
  75. "peerDependencies": {
  76. "tslib": "2"
  77. },
  78. "devDependencies": {
  79. "json-pack-napi": "^0.0.2"
  80. }
  81. }