package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "is-generator-function",
  3. "version": "1.0.9",
  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. "devDependencies": {
  44. "@ljharb/eslint-config": "^17.6.0",
  45. "aud": "^1.1.5",
  46. "auto-changelog": "^2.2.1",
  47. "core-js": "^2.6.5 || ^3 <3.9",
  48. "eslint": "^7.25.0",
  49. "make-generator-function": "^2.0.0",
  50. "nyc": "^10.3.2",
  51. "safe-publish-latest": "^1.1.4",
  52. "tape": "^5.2.2",
  53. "uglify-register": "^1.0.1"
  54. },
  55. "testling": {
  56. "files": "test/index.js",
  57. "browsers": [
  58. "iexplore/6.0..latest",
  59. "firefox/3.0..6.0",
  60. "firefox/15.0..latest",
  61. "firefox/nightly",
  62. "chrome/4.0..10.0",
  63. "chrome/20.0..latest",
  64. "chrome/canary",
  65. "opera/10.0..latest",
  66. "opera/next",
  67. "safari/4.0..latest",
  68. "ipad/6.0..latest",
  69. "iphone/6.0..latest",
  70. "android-browser/4.2"
  71. ]
  72. },
  73. "engines": {
  74. "node": ">= 0.4"
  75. },
  76. "auto-changelog": {
  77. "output": "CHANGELOG.md",
  78. "template": "keepachangelog",
  79. "unreleased": false,
  80. "commitLimit": false,
  81. "backfillLimit": false,
  82. "hideCredit": true
  83. }
  84. }