package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "is-async-function",
  3. "version": "2.0.0",
  4. "description": "Determine if a function is a native async function.",
  5. "main": "index.js",
  6. "scripts": {
  7. "prepublishOnly": "safe-publish-latest",
  8. "prepublish": "not-in-publish || npm run prepublishOnly",
  9. "pretest": "npm run lint",
  10. "test": "npm run tests-only",
  11. "tests-only": "nyc npm run test:all",
  12. "test:all": "npm run test:index && npm run test:uglified",
  13. "test:index": "node test",
  14. "test:uglified": "node test/uglified",
  15. "posttest": "aud --production",
  16. "lint": "eslint --ext=js,mjs .",
  17. "version": "auto-changelog && git add CHANGELOG.md",
  18. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "git://github.com/inspect-js/is-async-function.git"
  23. },
  24. "keywords": [
  25. "async",
  26. "async function",
  27. "es6",
  28. "es2015",
  29. "yield",
  30. "function",
  31. "function*"
  32. ],
  33. "author": "Jordan Harband <ljharb@gmail.com>",
  34. "funding": {
  35. "url": "https://github.com/sponsors/ljharb"
  36. },
  37. "license": "MIT",
  38. "bugs": {
  39. "url": "https://github.com/inspect-js/is-async-function/issues"
  40. },
  41. "dependencies": {
  42. "has-tostringtag": "^1.0.0"
  43. },
  44. "devDependencies": {
  45. "@ljharb/eslint-config": "^21.0.0",
  46. "aud": "^2.0.0",
  47. "auto-changelog": "^2.4.0",
  48. "eslint": "=8.8.0",
  49. "in-publish": "^2.0.1",
  50. "make-async-function": "^1.0.0",
  51. "make-generator-function": "^2.0.0",
  52. "nyc": "^10.3.2",
  53. "safe-publish-latest": "^2.0.0",
  54. "tape": "^5.5.3",
  55. "uglify-register": "^1.0.1"
  56. },
  57. "testling": {
  58. "files": "test/index.js",
  59. "browsers": [
  60. "iexplore/6.0..latest",
  61. "firefox/3.0..6.0",
  62. "firefox/15.0..latest",
  63. "firefox/nightly",
  64. "chrome/4.0..10.0",
  65. "chrome/20.0..latest",
  66. "chrome/canary",
  67. "opera/10.0..latest",
  68. "opera/next",
  69. "safari/4.0..latest",
  70. "ipad/6.0..latest",
  71. "iphone/6.0..latest",
  72. "android-browser/4.2"
  73. ]
  74. },
  75. "engines": {
  76. "node": ">= 0.4"
  77. },
  78. "auto-changelog": {
  79. "output": "CHANGELOG.md",
  80. "template": "keepachangelog",
  81. "unreleased": false,
  82. "commitLimit": false,
  83. "backfillLimit": false,
  84. "hideCredit": true
  85. }
  86. }