package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "_from": "is-generator-function@^1.0.10",
  3. "_id": "is-generator-function@1.1.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==",
  6. "_location": "/is-generator-function",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "is-generator-function@^1.0.10",
  12. "name": "is-generator-function",
  13. "escapedName": "is-generator-function",
  14. "rawSpec": "^1.0.10",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.0.10"
  17. },
  18. "_requiredBy": [
  19. "/which-builtin-type"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/is-generator-function/-/is-generator-function-1.1.2.tgz",
  22. "_shasum": "ae3b61e3d5ea4e4839b90bad22b02335051a17d5",
  23. "_spec": "is-generator-function@^1.0.10",
  24. "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\which-builtin-type",
  25. "author": {
  26. "name": "Jordan Harband",
  27. "email": "ljharb@gmail.com"
  28. },
  29. "auto-changelog": {
  30. "output": "CHANGELOG.md",
  31. "template": "keepachangelog",
  32. "unreleased": false,
  33. "commitLimit": false,
  34. "backfillLimit": false,
  35. "hideCredit": true
  36. },
  37. "bugs": {
  38. "url": "https://github.com/inspect-js/is-generator-function/issues"
  39. },
  40. "bundleDependencies": false,
  41. "dependencies": {
  42. "call-bound": "^1.0.4",
  43. "generator-function": "^2.0.0",
  44. "get-proto": "^1.0.1",
  45. "has-tostringtag": "^1.0.2",
  46. "safe-regex-test": "^1.1.0"
  47. },
  48. "deprecated": false,
  49. "description": "Determine if a function is a native generator function.",
  50. "devDependencies": {
  51. "@arethetypeswrong/cli": "^0.18.2",
  52. "@ljharb/eslint-config": "^21.2.0",
  53. "@ljharb/tsconfig": "^0.3.2",
  54. "@types/for-each": "^0.3.3",
  55. "@types/make-generator-function": "^2.0.3",
  56. "@types/tape": "^5.8.1",
  57. "auto-changelog": "^2.5.0",
  58. "core-js": "^2.6.5 || ^3.20.0",
  59. "encoding": "^0.1.13",
  60. "eslint": "=8.8.0",
  61. "for-each": "^0.3.5",
  62. "in-publish": "^2.0.1",
  63. "make-generator-function": "^2.1.0",
  64. "npmignore": "^0.3.1",
  65. "nyc": "^10.3.2",
  66. "safe-publish-latest": "^2.0.0",
  67. "tape": "^5.9.0",
  68. "typescript": "next",
  69. "uglify-register": "^1.0.1"
  70. },
  71. "engines": {
  72. "node": ">= 0.4"
  73. },
  74. "funding": {
  75. "url": "https://github.com/sponsors/ljharb"
  76. },
  77. "homepage": "https://github.com/inspect-js/is-generator-function#readme",
  78. "keywords": [
  79. "generator",
  80. "generator function",
  81. "es6",
  82. "es2015",
  83. "yield",
  84. "function",
  85. "function*"
  86. ],
  87. "license": "MIT",
  88. "main": "index.js",
  89. "name": "is-generator-function",
  90. "publishConfig": {
  91. "ignore": [
  92. ".github/workflows"
  93. ]
  94. },
  95. "repository": {
  96. "type": "git",
  97. "url": "git://github.com/inspect-js/is-generator-function.git"
  98. },
  99. "scripts": {
  100. "lint": "eslint --ext=js,mjs .",
  101. "postlint": "tsc && attw -P",
  102. "posttest": "npx npm@\">= 10.2\" audit --production",
  103. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  104. "prepack": "npmignore --auto --commentLines=autogenerated",
  105. "prepublish": "not-in-publish || npm run prepublishOnly",
  106. "prepublishOnly": "safe-publish-latest",
  107. "pretest": "npm run lint",
  108. "test": "npm run tests-only",
  109. "test:all": "npm run test:index && npm run test:corejs && npm run test:uglified",
  110. "test:corejs": "node test/corejs",
  111. "test:harmony": "node --es-staging --harmony test && node --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified",
  112. "test:index": "node test",
  113. "test:uglified": "node test/uglified",
  114. "tests-only": "nyc npm run test:all",
  115. "version": "auto-changelog && git add CHANGELOG.md"
  116. },
  117. "testling": {
  118. "files": "test/index.js",
  119. "browsers": [
  120. "iexplore/6.0..latest",
  121. "firefox/3.0..6.0",
  122. "firefox/15.0..latest",
  123. "firefox/nightly",
  124. "chrome/4.0..10.0",
  125. "chrome/20.0..latest",
  126. "chrome/canary",
  127. "opera/10.0..latest",
  128. "opera/next",
  129. "safari/4.0..latest",
  130. "ipad/6.0..latest",
  131. "iphone/6.0..latest",
  132. "android-browser/4.2"
  133. ]
  134. },
  135. "version": "1.1.2"
  136. }