package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "array-buffer-byte-length",
  3. "version": "1.0.0",
  4. "description": "Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.",
  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. "keywords": [
  24. "shim",
  25. "polyfill",
  26. "ArrayBuffer",
  27. "byteLength",
  28. "byte",
  29. "length",
  30. "es-shim API",
  31. "es-shims"
  32. ],
  33. "author": "Jordan Harband <ljharb@gmail.com>",
  34. "funding": {
  35. "url": "https://github.com/sponsors/ljharb"
  36. },
  37. "license": "MIT",
  38. "repository": {
  39. "type": "git",
  40. "url": "git+https://github.com/inspect-js/array-buffer-byte-length.git"
  41. },
  42. "bugs": {
  43. "url": "https://github.com/inspect-js/array-buffer-byte-length/issues"
  44. },
  45. "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
  46. "dependencies": {
  47. "call-bind": "^1.0.2",
  48. "is-array-buffer": "^3.0.1"
  49. },
  50. "devDependencies": {
  51. "@ljharb/eslint-config": "^21.0.1",
  52. "aud": "^2.0.2",
  53. "auto-changelog": "^2.4.0",
  54. "es-value-fixtures": "^1.4.2",
  55. "eslint": "=8.8.0",
  56. "evalmd": "^0.0.19",
  57. "for-each": "^0.3.3",
  58. "in-publish": "^2.0.1",
  59. "npmignore": "^0.3.0",
  60. "nyc": "^10.3.2",
  61. "object-inspect": "^1.12.3",
  62. "safe-publish-latest": "^2.0.0",
  63. "tape": "^5.6.3"
  64. },
  65. "auto-changelog": {
  66. "output": "CHANGELOG.md",
  67. "template": "keepachangelog",
  68. "unreleased": false,
  69. "commitLimit": false,
  70. "backfillLimit": false,
  71. "hideCredit": true
  72. },
  73. "testling": {
  74. "files": "test/index.js"
  75. },
  76. "publishConfig": {
  77. "ignore": [
  78. ".github/workflows"
  79. ]
  80. }
  81. }