Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

package.json 2.3KB

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