7a0efbcd70e3ebaa98e3b96ec28c5edfeadb7ad136055f36563e7c2c7224e588dab8a383d6c85d7ffb7568b722ea520b4e41d741649dfab6694a0bb092a94e 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "array.prototype.reduce",
  3. "version": "1.0.8",
  4. "description": "An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.",
  5. "main": "index.js",
  6. "directories": {
  7. "test": "test"
  8. },
  9. "scripts": {
  10. "prepack": "npmignore --auto --commentLines=autogenerated",
  11. "prepublish": "not-in-publish || npm run prepublishOnly",
  12. "prepublishOnly": "safe-publish-latest",
  13. "version": "auto-changelog && git add CHANGELOG.md",
  14. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "postlint": "es-shim-api --bound",
  18. "pretest": "npm run lint",
  19. "test": "npm run tests-only",
  20. "posttest": "npx npm@\">= 10.2\" audit --production",
  21. "tests-only": "nyc tape 'test/**/*.js'",
  22. "testling": "npx testling --html > test.html"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/es-shims/Array.prototype.reduce.git"
  27. },
  28. "keywords": [
  29. "Array.prototype.reduce",
  30. "reduce",
  31. "array",
  32. "ES5",
  33. "shim",
  34. "polyfill",
  35. "es-shim API"
  36. ],
  37. "author": "Jordan Harband <ljharb@gmail.com>",
  38. "funding": {
  39. "url": "https://github.com/sponsors/ljharb"
  40. },
  41. "license": "MIT",
  42. "bugs": {
  43. "url": "https://github.com/es-shims/Array.prototype.reduce/issues"
  44. },
  45. "homepage": "https://github.com/es-shims/Array.prototype.reduce#readme",
  46. "engines": {
  47. "node": ">= 0.4"
  48. },
  49. "dependencies": {
  50. "call-bind": "^1.0.8",
  51. "call-bound": "^1.0.4",
  52. "define-properties": "^1.2.1",
  53. "es-abstract": "^1.23.9",
  54. "es-array-method-boxes-properly": "^1.0.0",
  55. "es-errors": "^1.3.0",
  56. "es-object-atoms": "^1.1.1",
  57. "is-string": "^1.1.1"
  58. },
  59. "devDependencies": {
  60. "@es-shims/api": "^2.5.1",
  61. "@ljharb/eslint-config": "^21.1.1",
  62. "auto-changelog": "^2.5.0",
  63. "encoding": "^0.1.13",
  64. "eslint": "=8.8.0",
  65. "evalmd": "^0.0.19",
  66. "functions-have-names": "^1.2.3",
  67. "has-strict-mode": "^1.1.0",
  68. "in-publish": "^2.0.1",
  69. "npmignore": "^0.3.1",
  70. "nyc": "^10.3.2",
  71. "safe-publish-latest": "^2.0.0",
  72. "tape": "^5.9.0"
  73. },
  74. "auto-changelog": {
  75. "output": "CHANGELOG.md",
  76. "template": "keepachangelog",
  77. "unreleased": false,
  78. "commitLimit": false,
  79. "backfillLimit": false,
  80. "hideCredit": true
  81. },
  82. "publishConfig": {
  83. "ignore": [
  84. ".github/workflows"
  85. ]
  86. }
  87. }