package.json 2.8 KB

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