3d12aa63e8dda4b2bea3085cd63a892a0a4de6ffaa8bd448c691d436f3112edf27ac947f2f23fbe3c4750bbaa891d239296506d8abd8c2ad152c9a20ead108 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "arraybuffer.prototype.slice",
  3. "version": "1.0.4",
  4. "description": "ES spec-compliant shim for ArrayBuffer.prototype.slice",
  5. "author": "Jordan Harband <ljharb@gmail.com>",
  6. "funding": {
  7. "url": "https://github.com/sponsors/ljharb"
  8. },
  9. "license": "MIT",
  10. "main": "index.js",
  11. "exports": {
  12. ".": "./index.js",
  13. "./auto": "./auto.js",
  14. "./polyfill": "./polyfill.js",
  15. "./implementation": "./implementation.js",
  16. "./shim": "./shim.js",
  17. "./package.json": "./package.json"
  18. },
  19. "scripts": {
  20. "prepack": "npmignore --auto --commentLines=autogenerated",
  21. "prepublish": "not-in-publish || npm run prepublishOnly",
  22. "prepublishOnly": "safe-publish-latest",
  23. "pretest": "npm run lint",
  24. "test": "npm run tests-only",
  25. "posttest": "npx npm@'>=10.2' audit --production",
  26. "tests-only": "nyc tape 'test/**/*.js'",
  27. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  28. "lint": "eslint --ext=js,mjs .",
  29. "postlint": "evalmd README.md && es-shim-api --bound",
  30. "version": "auto-changelog && git add CHANGELOG.md",
  31. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  32. },
  33. "repository": {
  34. "type": "git",
  35. "url": "git+https://github.com/es-shims/ArrayBuffer.prototype.slice.git"
  36. },
  37. "homepage": "https://github.com/es-shims/ArrayBuffer.prototype.slice#readme",
  38. "bugs": {
  39. "url": "https://github.com/es-shims/ArrayBuffer.prototype.slice/issues"
  40. },
  41. "keywords": [
  42. "javascript",
  43. "ecmascript",
  44. "ArrayBuffer.prototype.slice",
  45. "polyfill",
  46. "shim",
  47. "ArrayBuffer",
  48. "array",
  49. "buffer",
  50. "ArrayBuffer#slice",
  51. "slice",
  52. "typed array",
  53. "es-shim API"
  54. ],
  55. "dependencies": {
  56. "array-buffer-byte-length": "^1.0.1",
  57. "call-bind": "^1.0.8",
  58. "define-properties": "^1.2.1",
  59. "es-abstract": "^1.23.5",
  60. "es-errors": "^1.3.0",
  61. "get-intrinsic": "^1.2.6",
  62. "is-array-buffer": "^3.0.4"
  63. },
  64. "devDependencies": {
  65. "@es-shims/api": "^2.5.1",
  66. "@ljharb/eslint-config": "^21.1.1",
  67. "auto-changelog": "^2.5.0",
  68. "eclint": "^2.8.1",
  69. "encoding": "^0.1.13",
  70. "es-value-fixtures": "^1.5.0",
  71. "eslint": "=8.8.0",
  72. "evalmd": "^0.0.19",
  73. "for-each": "^0.3.3",
  74. "functions-have-names": "^1.2.3",
  75. "has-strict-mode": "^1.0.1",
  76. "in-publish": "^2.0.1",
  77. "npmignore": "^0.3.1",
  78. "nyc": "^10.3.2",
  79. "object-inspect": "^1.13.3",
  80. "safe-publish-latest": "^2.0.0",
  81. "tape": "^5.9.0"
  82. },
  83. "testling": {
  84. "files": "test/index.js"
  85. },
  86. "engines": {
  87. "node": ">= 0.4"
  88. },
  89. "auto-changelog": {
  90. "output": "CHANGELOG.md",
  91. "template": "keepachangelog",
  92. "unreleased": false,
  93. "commitLimit": false,
  94. "backfillLimit": false,
  95. "hideCredit": true
  96. },
  97. "publishConfig": {
  98. "ignore": [
  99. ".github/workflows"
  100. ]
  101. }
  102. }