package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "array-buffer-byte-length",
  3. "version": "1.0.2",
  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. "sideEffects": false,
  11. "types": "./index.d.ts",
  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 && 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. "keywords": [
  27. "shim",
  28. "polyfill",
  29. "ArrayBuffer",
  30. "byteLength",
  31. "byte",
  32. "length",
  33. "es-shim API",
  34. "es-shims"
  35. ],
  36. "author": "Jordan Harband <ljharb@gmail.com>",
  37. "funding": {
  38. "url": "https://github.com/sponsors/ljharb"
  39. },
  40. "license": "MIT",
  41. "repository": {
  42. "type": "git",
  43. "url": "git+https://github.com/inspect-js/array-buffer-byte-length.git"
  44. },
  45. "bugs": {
  46. "url": "https://github.com/inspect-js/array-buffer-byte-length/issues"
  47. },
  48. "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
  49. "dependencies": {
  50. "call-bound": "^1.0.3",
  51. "is-array-buffer": "^3.0.5"
  52. },
  53. "devDependencies": {
  54. "@arethetypeswrong/cli": "^0.17.1",
  55. "@ljharb/eslint-config": "^21.1.1",
  56. "@ljharb/tsconfig": "^0.2.2",
  57. "@types/es-value-fixtures": "^1.4.4",
  58. "@types/for-each": "^0.3.3",
  59. "@types/object-inspect": "^1.13.0",
  60. "@types/tape": "^5.8.0",
  61. "auto-changelog": "^2.5.0",
  62. "encoding": "^0.1.13",
  63. "es-value-fixtures": "^1.5.0",
  64. "eslint": "=8.8.0",
  65. "evalmd": "^0.0.19",
  66. "for-each": "^0.3.3",
  67. "in-publish": "^2.0.1",
  68. "npmignore": "^0.3.1",
  69. "nyc": "^10.3.2",
  70. "object-inspect": "^1.13.3",
  71. "safe-publish-latest": "^2.0.0",
  72. "tape": "^5.9.0",
  73. "typescript": "next"
  74. },
  75. "auto-changelog": {
  76. "output": "CHANGELOG.md",
  77. "template": "keepachangelog",
  78. "unreleased": false,
  79. "commitLimit": false,
  80. "backfillLimit": false,
  81. "hideCredit": true
  82. },
  83. "testling": {
  84. "files": "test/index.js"
  85. },
  86. "publishConfig": {
  87. "ignore": [
  88. ".github/workflows"
  89. ]
  90. },
  91. "engines": {
  92. "node": ">= 0.4"
  93. }
  94. }