package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "_from": "is-async-function@^2.0.0",
  3. "_id": "is-async-function@2.1.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",
  6. "_location": "/is-async-function",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "is-async-function@^2.0.0",
  12. "name": "is-async-function",
  13. "escapedName": "is-async-function",
  14. "rawSpec": "^2.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.0"
  17. },
  18. "_requiredBy": [
  19. "/which-builtin-type"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/is-async-function/-/is-async-function-2.1.1.tgz",
  22. "_shasum": "3e69018c8e04e73b738793d020bfe884b9fd3523",
  23. "_spec": "is-async-function@^2.0.0",
  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-async-function/issues"
  39. },
  40. "bundleDependencies": false,
  41. "dependencies": {
  42. "async-function": "^1.0.0",
  43. "call-bound": "^1.0.3",
  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 async function.",
  50. "devDependencies": {
  51. "@arethetypeswrong/cli": "^0.17.3",
  52. "@ljharb/eslint-config": "^21.1.1",
  53. "@ljharb/tsconfig": "^0.2.3",
  54. "@types/for-each": "^0.3.3",
  55. "@types/make-async-function": "^1.0.2",
  56. "@types/make-generator-function": "^2.0.3",
  57. "@types/tape": "^5.8.1",
  58. "auto-changelog": "^2.5.0",
  59. "encoding": "^0.1.13",
  60. "eslint": "=8.8.0",
  61. "for-each": "^0.3.3",
  62. "in-publish": "^2.0.1",
  63. "make-async-function": "^1.0.0",
  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. "engines": {
  73. "node": ">= 0.4"
  74. },
  75. "exports": {
  76. ".": "./index.js",
  77. "./package.json": "./package.json"
  78. },
  79. "funding": {
  80. "url": "https://github.com/sponsors/ljharb"
  81. },
  82. "homepage": "https://github.com/inspect-js/is-async-function#readme",
  83. "keywords": [
  84. "async",
  85. "async function",
  86. "es6",
  87. "es2015",
  88. "yield",
  89. "function",
  90. "function*"
  91. ],
  92. "license": "MIT",
  93. "main": "index.js",
  94. "name": "is-async-function",
  95. "publishConfig": {
  96. "ignore": [
  97. ".github/workflows"
  98. ]
  99. },
  100. "repository": {
  101. "type": "git",
  102. "url": "git://github.com/inspect-js/is-async-function.git"
  103. },
  104. "scripts": {
  105. "lint": "eslint --ext=js,mjs .",
  106. "postlint": "tsc && attw -P",
  107. "posttest": "npx npm@\">= 10.2\" audit --production",
  108. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  109. "prepack": "npmignore --auto --commentLines=autogenerated",
  110. "prepublish": "not-in-publish || npm run prepublishOnly",
  111. "prepublishOnly": "safe-publish-latest",
  112. "pretest": "npm run lint",
  113. "test": "npm run tests-only",
  114. "test:all": "npm run test:index && npm run test:uglified",
  115. "test:index": "node test",
  116. "test:uglified": "node test/uglified",
  117. "tests-only": "nyc npm run test:all",
  118. "version": "auto-changelog && git add CHANGELOG.md"
  119. },
  120. "testling": {
  121. "files": "test/index.js",
  122. "browsers": [
  123. "iexplore/6.0..latest",
  124. "firefox/3.0..6.0",
  125. "firefox/15.0..latest",
  126. "firefox/nightly",
  127. "chrome/4.0..10.0",
  128. "chrome/20.0..latest",
  129. "chrome/canary",
  130. "opera/10.0..latest",
  131. "opera/next",
  132. "safari/4.0..latest",
  133. "ipad/6.0..latest",
  134. "iphone/6.0..latest",
  135. "android-browser/4.2"
  136. ]
  137. },
  138. "version": "2.1.1"
  139. }