7aa03273e79ceab2defdfe9f56e8cdf092a4706e7b19b2d762e024c9d6bdaa0ce07d8fe477d0896ad423bbfd753b8efbd24d274097cd78bfc3c64d3407d5a9 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name": "typed-array-byte-offset",
  3. "version": "1.0.4",
  4. "description": "Robustly get the byte offset of a Typed Array",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "types": "./index.d.ts",
  11. "sideEffects": false,
  12. "scripts": {
  13. "prepack": "npmignore --auto --commentLines=autogenerated",
  14. "prepublishOnly": "safe-publish-latest",
  15. "prepublish": "not-in-publish || npm run prepublishOnly",
  16. "pretest": "npm run lint",
  17. "prelint": "evalmd README.md",
  18. "lint": "eslint --ext=js,mjs .",
  19. "postlint": "tsc -p . && attw -P",
  20. "tests-only": "nyc tape 'test/**/*.js'",
  21. "test": "npm run tests-only",
  22. "posttest": "npx npm@'>=10.2' audit --production",
  23. "version": "auto-changelog && git add CHANGELOG.md",
  24. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git+https://github.com/inspect-js/typed-array-byte-offset.git"
  29. },
  30. "keywords": [
  31. "typed",
  32. "array",
  33. "byteOffset",
  34. "byte",
  35. "offset",
  36. "robust",
  37. "es",
  38. "Int8Array",
  39. "Uint8Array",
  40. "Uint8ClampedArray",
  41. "Int16Array",
  42. "Uint16Array",
  43. "Int32Array",
  44. "Uint32Array",
  45. "Float32Array",
  46. "Float64Array",
  47. "BigInt64Array",
  48. "BigUint64Array"
  49. ],
  50. "author": "Jordan Harband <ljharb@gmail.com>",
  51. "funding": {
  52. "url": "https://github.com/sponsors/ljharb"
  53. },
  54. "license": "MIT",
  55. "bugs": {
  56. "url": "https://github.com/inspect-js/typed-array-byte-offset/issues"
  57. },
  58. "homepage": "https://github.com/inspect-js/typed-array-byte-offset#readme",
  59. "dependencies": {
  60. "available-typed-arrays": "^1.0.7",
  61. "call-bind": "^1.0.8",
  62. "for-each": "^0.3.3",
  63. "gopd": "^1.2.0",
  64. "has-proto": "^1.2.0",
  65. "is-typed-array": "^1.1.15",
  66. "reflect.getprototypeof": "^1.0.9"
  67. },
  68. "devDependencies": {
  69. "@arethetypeswrong/cli": "^0.17.1",
  70. "@ljharb/eslint-config": "^21.1.1",
  71. "@ljharb/tsconfig": "^0.2.2",
  72. "@types/call-bind": "^1.0.5",
  73. "@types/es-abstract": "^1.17.9",
  74. "@types/for-each": "^0.3.3",
  75. "@types/gopd": "^1.0.3",
  76. "@types/is-callable": "^1.1.2",
  77. "@types/make-arrow-function": "^1.2.2",
  78. "@types/make-generator-function": "^2.0.3",
  79. "@types/object-inspect": "^1.13.0",
  80. "@types/tape": "^5.8.0",
  81. "auto-changelog": "^2.5.0",
  82. "eslint": "=8.8.0",
  83. "evalmd": "^0.0.19",
  84. "in-publish": "^2.0.1",
  85. "is-callable": "^1.2.7",
  86. "make-arrow-function": "^1.2.0",
  87. "make-generator-function": "^2.0.0",
  88. "npmignore": "^0.3.1",
  89. "nyc": "^10.3.2",
  90. "object-inspect": "^1.13.3",
  91. "possible-typed-array-names": "^1.0.0",
  92. "safe-publish-latest": "^2.0.0",
  93. "tape": "^5.9.0",
  94. "typescript": "next"
  95. },
  96. "engines": {
  97. "node": ">= 0.4"
  98. },
  99. "auto-changelog": {
  100. "output": "CHANGELOG.md",
  101. "template": "keepachangelog",
  102. "unreleased": false,
  103. "commitLimit": false,
  104. "backfillLimit": false,
  105. "hideCredit": true
  106. },
  107. "testling": {
  108. "files": "test/index.js"
  109. },
  110. "publishConfig": {
  111. "ignore": [
  112. ".github/workflows",
  113. "types"
  114. ]
  115. }
  116. }