package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "array.prototype.reduce",
  3. "version": "1.0.7",
  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": "aud --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.7",
  51. "define-properties": "^1.2.1",
  52. "es-abstract": "^1.23.2",
  53. "es-array-method-boxes-properly": "^1.0.0",
  54. "es-errors": "^1.3.0",
  55. "es-object-atoms": "^1.0.0",
  56. "is-string": "^1.0.7"
  57. },
  58. "devDependencies": {
  59. "@es-shims/api": "^2.4.2",
  60. "@ljharb/eslint-config": "^21.1.0",
  61. "aud": "^2.0.4",
  62. "auto-changelog": "^2.4.0",
  63. "eslint": "=8.8.0",
  64. "evalmd": "^0.0.19",
  65. "functions-have-names": "^1.2.3",
  66. "has-strict-mode": "^1.0.1",
  67. "in-publish": "^2.0.1",
  68. "npmignore": "^0.3.1",
  69. "nyc": "^10.3.2",
  70. "safe-publish-latest": "^2.0.0",
  71. "tape": "^5.7.5"
  72. },
  73. "auto-changelog": {
  74. "output": "CHANGELOG.md",
  75. "template": "keepachangelog",
  76. "unreleased": false,
  77. "commitLimit": false,
  78. "backfillLimit": false,
  79. "hideCredit": true
  80. },
  81. "publishConfig": {
  82. "ignore": [
  83. ".github/workflows"
  84. ]
  85. }
  86. }