package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "array.prototype.reduce",
  3. "version": "1.0.4",
  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. "prepublish": "not-in-publish || npm run prepublishOnly",
  11. "prepublishOnly": "safe-publish-latest",
  12. "version": "auto-changelog && git add CHANGELOG.md",
  13. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  14. "prelint": "evalmd README.md",
  15. "lint": "eslint --ext=js,mjs .",
  16. "postlint": "es-shim-api --bound",
  17. "pretest": "npm run lint",
  18. "test": "npm run tests-only",
  19. "posttest": "aud --production",
  20. "tests-only": "nyc tape 'test/**/*.js'",
  21. "testling": "npx testling --html > test.html"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/es-shims/Array.prototype.reduce.git"
  26. },
  27. "keywords": [
  28. "Array.prototype.reduce",
  29. "reduce",
  30. "array",
  31. "ES5",
  32. "shim",
  33. "polyfill",
  34. "es-shim API"
  35. ],
  36. "author": "Jordan Harband <ljharb@gmail.com>",
  37. "funding": {
  38. "url": "https://github.com/sponsors/ljharb"
  39. },
  40. "license": "MIT",
  41. "bugs": {
  42. "url": "https://github.com/es-shims/Array.prototype.reduce/issues"
  43. },
  44. "homepage": "https://github.com/es-shims/Array.prototype.reduce#readme",
  45. "engines": {
  46. "node": ">= 0.4"
  47. },
  48. "dependencies": {
  49. "call-bind": "^1.0.2",
  50. "define-properties": "^1.1.3",
  51. "es-abstract": "^1.19.2",
  52. "es-array-method-boxes-properly": "^1.0.0",
  53. "is-string": "^1.0.7"
  54. },
  55. "devDependencies": {
  56. "@es-shims/api": "^2.2.3",
  57. "@ljharb/eslint-config": "^21.0.0",
  58. "aud": "^2.0.0",
  59. "auto-changelog": "^2.4.0",
  60. "eslint": "=8.8.0",
  61. "evalmd": "^0.0.19",
  62. "functions-have-names": "^1.2.2",
  63. "has-strict-mode": "^1.0.1",
  64. "nyc": "^10.3.2",
  65. "safe-publish-latest": "^2.0.0",
  66. "tape": "^5.5.3"
  67. },
  68. "auto-changelog": {
  69. "output": "CHANGELOG.md",
  70. "template": "keepachangelog",
  71. "unreleased": false,
  72. "commitLimit": false,
  73. "backfillLimit": false,
  74. "hideCredit": true
  75. }
  76. }