package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "is-async-function",
  3. "version": "2.1.1",
  4. "description": "Determine if a function is a native async function.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "scripts": {
  11. "prepack": "npmignore --auto --commentLines=autogenerated",
  12. "prepublishOnly": "safe-publish-latest",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "pretest": "npm run lint",
  15. "test": "npm run tests-only",
  16. "tests-only": "nyc npm run test:all",
  17. "test:all": "npm run test:index && npm run test:uglified",
  18. "test:index": "node test",
  19. "test:uglified": "node test/uglified",
  20. "posttest": "npx npm@\">= 10.2\" audit --production",
  21. "lint": "eslint --ext=js,mjs .",
  22. "postlint": "tsc && attw -P",
  23. "version": "auto-changelog && git add CHANGELOG.md",
  24. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git://github.com/inspect-js/is-async-function.git"
  29. },
  30. "keywords": [
  31. "async",
  32. "async function",
  33. "es6",
  34. "es2015",
  35. "yield",
  36. "function",
  37. "function*"
  38. ],
  39. "author": "Jordan Harband <ljharb@gmail.com>",
  40. "funding": {
  41. "url": "https://github.com/sponsors/ljharb"
  42. },
  43. "license": "MIT",
  44. "bugs": {
  45. "url": "https://github.com/inspect-js/is-async-function/issues"
  46. },
  47. "dependencies": {
  48. "async-function": "^1.0.0",
  49. "call-bound": "^1.0.3",
  50. "get-proto": "^1.0.1",
  51. "has-tostringtag": "^1.0.2",
  52. "safe-regex-test": "^1.1.0"
  53. },
  54. "devDependencies": {
  55. "@arethetypeswrong/cli": "^0.17.3",
  56. "@ljharb/eslint-config": "^21.1.1",
  57. "@ljharb/tsconfig": "^0.2.3",
  58. "@types/for-each": "^0.3.3",
  59. "@types/make-async-function": "^1.0.2",
  60. "@types/make-generator-function": "^2.0.3",
  61. "@types/tape": "^5.8.1",
  62. "auto-changelog": "^2.5.0",
  63. "encoding": "^0.1.13",
  64. "eslint": "=8.8.0",
  65. "for-each": "^0.3.3",
  66. "in-publish": "^2.0.1",
  67. "make-async-function": "^1.0.0",
  68. "make-generator-function": "^2.0.0",
  69. "npmignore": "^0.3.1",
  70. "nyc": "^10.3.2",
  71. "safe-publish-latest": "^2.0.0",
  72. "tape": "^5.9.0",
  73. "typescript": "next",
  74. "uglify-register": "^1.0.1"
  75. },
  76. "testling": {
  77. "files": "test/index.js",
  78. "browsers": [
  79. "iexplore/6.0..latest",
  80. "firefox/3.0..6.0",
  81. "firefox/15.0..latest",
  82. "firefox/nightly",
  83. "chrome/4.0..10.0",
  84. "chrome/20.0..latest",
  85. "chrome/canary",
  86. "opera/10.0..latest",
  87. "opera/next",
  88. "safari/4.0..latest",
  89. "ipad/6.0..latest",
  90. "iphone/6.0..latest",
  91. "android-browser/4.2"
  92. ]
  93. },
  94. "engines": {
  95. "node": ">= 0.4"
  96. },
  97. "auto-changelog": {
  98. "output": "CHANGELOG.md",
  99. "template": "keepachangelog",
  100. "unreleased": false,
  101. "commitLimit": false,
  102. "backfillLimit": false,
  103. "hideCredit": true
  104. },
  105. "publishConfig": {
  106. "ignore": [
  107. ".github/workflows"
  108. ]
  109. }
  110. }