package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "es-get-iterator",
  3. "version": "1.1.3",
  4. "description": "Get an iterator for any JS language value. Works robustly across all environments, all versions.",
  5. "main": "./index.js",
  6. "browser": "./index.js",
  7. "exports": {
  8. ".": [
  9. {
  10. "browser": "./index.js",
  11. "import": "./node.mjs",
  12. "default": "./node.js"
  13. },
  14. "./node.js"
  15. ],
  16. "./package": "./package.json",
  17. "./package.json": "./package.json"
  18. },
  19. "type": "commonjs",
  20. "scripts": {
  21. "prepack": "npmignore --auto --commentLines=autogenerated",
  22. "prepublish": "not-in-publish || npm run prepublishOnly",
  23. "prepublishOnly": "safe-publish-latest",
  24. "lint": "eslint --ext=js,mjs .",
  25. "pretest": "npm run lint",
  26. "tests-only": "nyc node test/${TEST_VARIANT-}",
  27. "tests-esm": "TEST_VARIANT=node.mjs npm run tests-only",
  28. "tests-preload-es6-shim": "TEST_VARIANT=es6-shim PRELOAD_GET_ITERATOR=true npm run tests-only",
  29. "test": "npm run tests-only && TEST_VARIANT=node npm run tests-only && npm run tests-esm && npm run tests-preload-es6-shim",
  30. "posttest": "aud --production",
  31. "version": "auto-changelog && git add CHANGELOG.md",
  32. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "git+https://github.com/ljharb/es-get-iterator.git"
  37. },
  38. "keywords": [
  39. "iterator",
  40. "Symbol.iterator",
  41. "iterable",
  42. "collection",
  43. "next",
  44. "iteration"
  45. ],
  46. "author": "Jordan Harband <ljharb@gmail.com>",
  47. "funding": {
  48. "url": "https://github.com/sponsors/ljharb"
  49. },
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/ljharb/es-get-iterator/issues"
  53. },
  54. "homepage": "https://github.com/ljharb/es-get-iterator#readme",
  55. "devDependencies": {
  56. "@ljharb/eslint-config": "^21.0.1",
  57. "aud": "^2.0.2",
  58. "auto-changelog": "^2.4.0",
  59. "core-js": "^2.6.10 || ^3.4.2",
  60. "es5-shim": "^4.6.7",
  61. "es6-shim": "^0.35.7",
  62. "eslint": "=8.8.0",
  63. "for-each": "^0.3.3",
  64. "has-bigints": "^1.0.2",
  65. "npmignore": "^0.3.0",
  66. "nyc": "^10.3.2",
  67. "object-inspect": "^1.12.3",
  68. "safe-publish-latest": "^2.0.0",
  69. "tape": "^5.6.1"
  70. },
  71. "testling": {
  72. "files": "./test/index.js"
  73. },
  74. "greenkeeper": {
  75. "ignore": [
  76. "nyc"
  77. ]
  78. },
  79. "dependencies": {
  80. "call-bind": "^1.0.2",
  81. "get-intrinsic": "^1.1.3",
  82. "has-symbols": "^1.0.3",
  83. "is-arguments": "^1.1.1",
  84. "is-map": "^2.0.2",
  85. "is-set": "^2.0.2",
  86. "is-string": "^1.0.7",
  87. "isarray": "^2.0.5",
  88. "stop-iteration-iterator": "^1.0.0"
  89. },
  90. "auto-changelog": {
  91. "output": "CHANGELOG.md",
  92. "template": "keepachangelog",
  93. "unreleased": false,
  94. "commitLimit": false,
  95. "backfillLimit": false
  96. },
  97. "publishConfig": {
  98. "ignore": [
  99. ".github/workflows"
  100. ]
  101. }
  102. }