package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "arraybuffer.prototype.slice",
  3. "version": "1.0.3",
  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": "aud --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.5",
  58. "define-properties": "^1.2.1",
  59. "es-abstract": "^1.22.3",
  60. "es-errors": "^1.2.1",
  61. "get-intrinsic": "^1.2.3",
  62. "is-array-buffer": "^3.0.4",
  63. "is-shared-array-buffer": "^1.0.2"
  64. },
  65. "devDependencies": {
  66. "@es-shims/api": "^2.4.2",
  67. "@ljharb/eslint-config": "^21.1.0",
  68. "aud": "^2.0.4",
  69. "auto-changelog": "^2.4.0",
  70. "covert": "^1.1.1",
  71. "eclint": "^2.8.1",
  72. "es-value-fixtures": "^1.4.2",
  73. "eslint": "=8.8.0",
  74. "evalmd": "^0.0.19",
  75. "for-each": "^0.3.3",
  76. "functions-have-names": "^1.2.3",
  77. "has-strict-mode": "^1.0.1",
  78. "in-publish": "^2.0.1",
  79. "npmignore": "^0.3.1",
  80. "nyc": "^10.3.2",
  81. "object-inspect": "^1.13.1",
  82. "safe-publish-latest": "^2.0.0",
  83. "tape": "^5.7.4"
  84. },
  85. "testling": {
  86. "files": "test/index.js"
  87. },
  88. "engines": {
  89. "node": ">= 0.4"
  90. },
  91. "auto-changelog": {
  92. "output": "CHANGELOG.md",
  93. "template": "keepachangelog",
  94. "unreleased": false,
  95. "commitLimit": false,
  96. "backfillLimit": false,
  97. "hideCredit": true
  98. },
  99. "publishConfig": {
  100. "ignore": [
  101. ".github/workflows"
  102. ]
  103. }
  104. }