package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "stop-iteration-iterator",
  3. "version": "1.1.0",
  4. "description": "Firefox 17-26 iterators throw a StopIteration object to indicate \"done\". This normalizes it.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "sideEffects": false,
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "prepublishOnly": "safe-publish-latest",
  15. "lint": "eslint --ext=js,mjs .",
  16. "postlint": "tsc && attw -P",
  17. "pretest": "npm run lint",
  18. "tests-only": "nyc tape 'test/**/*.js'",
  19. "test": "npm run tests-only",
  20. "posttest": "npx npm@'>= 10.2' audit --production",
  21. "version": "auto-changelog && git add CHANGELOG.md",
  22. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/ljharb/stop-iteration-iterator.git"
  27. },
  28. "keywords": [
  29. "stopiteration",
  30. "iterator",
  31. "firefox"
  32. ],
  33. "author": "Jordan Harband <ljharb@gmail.com>",
  34. "license": "MIT",
  35. "bugs": {
  36. "url": "https://github.com/ljharb/stop-iteration-iterator/issues"
  37. },
  38. "homepage": "https://github.com/ljharb/stop-iteration-iterator#readme",
  39. "dependencies": {
  40. "es-errors": "^1.3.0",
  41. "internal-slot": "^1.1.0"
  42. },
  43. "devDependencies": {
  44. "@arethetypeswrong/cli": "^0.17.1",
  45. "@ljharb/eslint-config": "^21.1.1",
  46. "@ljharb/tsconfig": "^0.2.2",
  47. "@types/tape": "^5.6.5",
  48. "auto-changelog": "^2.5.0",
  49. "encoding": "^0.1.13",
  50. "eslint": "=8.8.0",
  51. "in-publish": "^2.0.1",
  52. "npmignore": "^0.3.1",
  53. "nyc": "^10.3.2",
  54. "safe-publish-latest": "^2.0.0",
  55. "tape": "^5.9.0",
  56. "typescript": "next"
  57. },
  58. "engines": {
  59. "node": ">= 0.4"
  60. },
  61. "testling": {
  62. "files": "test/index.js"
  63. },
  64. "auto-changelog": {
  65. "output": "CHANGELOG.md",
  66. "template": "keepachangelog",
  67. "unreleased": false,
  68. "commitLimit": false,
  69. "backfillLimit": false,
  70. "hideCredit": true
  71. },
  72. "publishConfig": {
  73. "ignore": [
  74. ".github/workflows"
  75. ]
  76. }
  77. }