package.json 2.2 KB

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