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