package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "typed-array-byte-length",
  3. "version": "1.0.0",
  4. "description": "Robustly get the byte length of a Typed Array",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "scripts": {
  11. "prepack": "npmignore --auto --commentLines=autogenerated",
  12. "prepublishOnly": "safe-publish-latest",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "pretest": "npm run lint",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "tests-only": "nyc tape 'test/**/*.js'",
  18. "test": "npm run tests-only",
  19. "posttest": "aud --production",
  20. "version": "auto-changelog && git add CHANGELOG.md",
  21. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/inspect-js/typed-array-byte-length.git"
  26. },
  27. "keywords": [
  28. "typed",
  29. "array",
  30. "byteLength",
  31. "byte",
  32. "length",
  33. "robust",
  34. "es",
  35. "Int8Array",
  36. "Uint8Array",
  37. "Uint8ClampedArray",
  38. "Int16Array",
  39. "Uint16Array",
  40. "Int32Array",
  41. "Uint32Array",
  42. "Float32Array",
  43. "Float64Array",
  44. "BigInt64Array",
  45. "BigUint64Array"
  46. ],
  47. "author": "Jordan Harband <ljharb@gmail.com>",
  48. "funding": {
  49. "url": "https://github.com/sponsors/ljharb"
  50. },
  51. "license": "MIT",
  52. "bugs": {
  53. "url": "https://github.com/inspect-js/typed-array-byte-length/issues"
  54. },
  55. "homepage": "https://github.com/inspect-js/typed-array-byte-length#readme",
  56. "dependencies": {
  57. "call-bind": "^1.0.2",
  58. "for-each": "^0.3.3",
  59. "has-proto": "^1.0.1",
  60. "is-typed-array": "^1.1.10"
  61. },
  62. "devDependencies": {
  63. "@ljharb/eslint-config": "^21.1.0",
  64. "aud": "^2.0.2",
  65. "auto-changelog": "^2.4.0",
  66. "available-typed-arrays": "^1.0.5",
  67. "eslint": "=8.8.0",
  68. "evalmd": "^0.0.19",
  69. "in-publish": "^2.0.1",
  70. "is-callable": "^1.2.7",
  71. "make-arrow-function": "^1.2.0",
  72. "make-generator-function": "^2.0.0",
  73. "npmignore": "^0.3.0",
  74. "nyc": "^10.3.2",
  75. "object-inspect": "^1.12.3",
  76. "safe-publish-latest": "^2.0.0",
  77. "tape": "^5.6.3"
  78. },
  79. "engines": {
  80. "node": ">= 0.4"
  81. },
  82. "auto-changelog": {
  83. "output": "CHANGELOG.md",
  84. "template": "keepachangelog",
  85. "unreleased": false,
  86. "commitLimit": false,
  87. "backfillLimit": false,
  88. "hideCredit": true
  89. },
  90. "testling": {
  91. "files": "test/index.js"
  92. },
  93. "publishConfig": {
  94. "ignore": [
  95. ".github/workflows"
  96. ]
  97. }
  98. }