package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "name": "array.prototype.findlastindex",
  3. "version": "1.2.4",
  4. "description": "An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.",
  5. "author": {
  6. "name": "Jordan Harband",
  7. "email": "ljharb@gmail.com",
  8. "url": "http://ljharb.codes"
  9. },
  10. "funding": {
  11. "url": "https://github.com/sponsors/ljharb"
  12. },
  13. "contributors": [
  14. {
  15. "name": "Jordan Harband",
  16. "email": "ljharb@gmail.com",
  17. "url": "http://ljharb.codes"
  18. }
  19. ],
  20. "license": "MIT",
  21. "bugs": {
  22. "url": "https://github.com/es-shims/Array.prototype.findLastIndex/issues"
  23. },
  24. "homepage": "https://github.com/es-shims/Array.prototype.findLastIndex#readme",
  25. "main": "index.js",
  26. "exports": {
  27. ".": [
  28. {
  29. "import": "./index.mjs",
  30. "require": "./index.js",
  31. "default": "./index.js"
  32. },
  33. "./index.js"
  34. ],
  35. "./auto": "./auto.js",
  36. "./polyfill": "./polyfill.js",
  37. "./implementation": "./implementation.js",
  38. "./shim": "./shim.js",
  39. "./package.json": "./package.json"
  40. },
  41. "scripts": {
  42. "prepack": "npmignore --auto --commentLines=autogenerated",
  43. "prepublishOnly": "safe-publish-latest",
  44. "prepublish": "not-in-publish || npm run prepublishOnly",
  45. "pretest": "npm run --silent lint",
  46. "posttest": "aud --production",
  47. "tests-only": "nyc tape 'test/**/*.js'",
  48. "tests-esm": "nyc node test/index.mjs",
  49. "test": "npm run tests-only && npm run tests-esm",
  50. "prelint": "evalmd README.md",
  51. "lint": "eslint --ext=js,mjs .",
  52. "postlint": "es-shim-api --bound",
  53. "version": "auto-changelog && git add CHANGELOG.md",
  54. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  55. },
  56. "repository": {
  57. "type": "git",
  58. "url": "git+https://github.com/es-shims/Array.prototype.findLastIndex.git"
  59. },
  60. "keywords": [
  61. "Array.prototype.findLastIndex",
  62. "find",
  63. "findLast",
  64. "findLastIndex",
  65. "array",
  66. "ESnext",
  67. "shim",
  68. "polyfill",
  69. "last",
  70. "es-shim API"
  71. ],
  72. "dependencies": {
  73. "call-bind": "^1.0.5",
  74. "define-properties": "^1.2.1",
  75. "es-abstract": "^1.22.3",
  76. "es-errors": "^1.3.0",
  77. "es-shim-unscopables": "^1.0.2"
  78. },
  79. "devDependencies": {
  80. "@es-shims/api": "^2.4.2",
  81. "@ljharb/eslint-config": "^21.1.0",
  82. "aud": "^2.0.4",
  83. "auto-changelog": "^2.4.0",
  84. "es-value-fixtures": "^1.4.2",
  85. "eslint": "=8.8.0",
  86. "evalmd": "^0.0.19",
  87. "for-each": "^0.3.3",
  88. "functions-have-names": "^1.2.3",
  89. "globalthis": "^1.0.3",
  90. "has-strict-mode": "^1.0.1",
  91. "hasown": "^2.0.0",
  92. "in-publish": "^2.0.1",
  93. "npmignore": "^0.3.1",
  94. "nyc": "^10.3.2",
  95. "object-inspect": "^1.13.1",
  96. "safe-publish-latest": "^2.0.0",
  97. "tape": "^5.7.4"
  98. },
  99. "testling": {
  100. "files": [
  101. "test/index.js",
  102. "test/shimmed.js"
  103. ]
  104. },
  105. "engines": {
  106. "node": ">= 0.4"
  107. },
  108. "auto-changelog": {
  109. "output": "CHANGELOG.md",
  110. "template": "keepachangelog",
  111. "unreleased": false,
  112. "commitLimit": false,
  113. "backfillLimit": false,
  114. "hideCredit": true
  115. },
  116. "publishConfig": {
  117. "ignore": [
  118. ".github/workflows"
  119. ]
  120. }
  121. }