package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "is-generator-function",
  3. "version": "1.1.0",
  4. "description": "Determine if a function is a native generator function.",
  5. "main": "index.js",
  6. "scripts": {
  7. "prepack": "npmignore --auto --commentLines=autogenerated",
  8. "prepublishOnly": "safe-publish-latest",
  9. "prepublish": "not-in-publish || npm run prepublishOnly",
  10. "pretest": "npm run lint",
  11. "test": "npm run tests-only",
  12. "tests-only": "nyc npm run test:all",
  13. "test:all": "npm run test:index && npm run test:corejs && npm run test:uglified",
  14. "test:harmony": "node --es-staging --harmony test && node --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified",
  15. "test:index": "node test",
  16. "test:corejs": "node test/corejs",
  17. "test:uglified": "node test/uglified",
  18. "posttest": "npx npm@\">= 10.2\" audit --production",
  19. "lint": "eslint --ext=js,mjs .",
  20. "postlint": "tsc && attw -P",
  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://github.com/inspect-js/is-generator-function.git"
  27. },
  28. "keywords": [
  29. "generator",
  30. "generator function",
  31. "es6",
  32. "es2015",
  33. "yield",
  34. "function",
  35. "function*"
  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/inspect-js/is-generator-function/issues"
  44. },
  45. "dependencies": {
  46. "call-bound": "^1.0.3",
  47. "get-proto": "^1.0.0",
  48. "has-tostringtag": "^1.0.2",
  49. "safe-regex-test": "^1.1.0"
  50. },
  51. "devDependencies": {
  52. "@arethetypeswrong/cli": "^0.17.2",
  53. "@ljharb/eslint-config": "^21.1.1",
  54. "@ljharb/tsconfig": "^0.2.3",
  55. "@types/for-each": "^0.3.3",
  56. "@types/make-generator-function": "^2.0.3",
  57. "@types/tape": "^5.8.0",
  58. "auto-changelog": "^2.5.0",
  59. "core-js": "^2.6.5 || ^3.20.0",
  60. "encoding": "^0.1.13",
  61. "eslint": "=8.8.0",
  62. "for-each": "^0.3.3",
  63. "in-publish": "^2.0.1",
  64. "make-generator-function": "^2.0.0",
  65. "npmignore": "^0.3.1",
  66. "nyc": "^10.3.2",
  67. "safe-publish-latest": "^2.0.0",
  68. "tape": "^5.9.0",
  69. "typescript": "next",
  70. "uglify-register": "^1.0.1"
  71. },
  72. "testling": {
  73. "files": "test/index.js",
  74. "browsers": [
  75. "iexplore/6.0..latest",
  76. "firefox/3.0..6.0",
  77. "firefox/15.0..latest",
  78. "firefox/nightly",
  79. "chrome/4.0..10.0",
  80. "chrome/20.0..latest",
  81. "chrome/canary",
  82. "opera/10.0..latest",
  83. "opera/next",
  84. "safari/4.0..latest",
  85. "ipad/6.0..latest",
  86. "iphone/6.0..latest",
  87. "android-browser/4.2"
  88. ]
  89. },
  90. "engines": {
  91. "node": ">= 0.4"
  92. },
  93. "auto-changelog": {
  94. "output": "CHANGELOG.md",
  95. "template": "keepachangelog",
  96. "unreleased": false,
  97. "commitLimit": false,
  98. "backfillLimit": false,
  99. "hideCredit": true
  100. },
  101. "publishConfig": {
  102. "ignore": [
  103. ".github/workflows"
  104. ]
  105. }
  106. }