package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "_from": "generator-function@^2.0.0",
  3. "_id": "generator-function@2.0.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==",
  6. "_location": "/generator-function",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "generator-function@^2.0.0",
  12. "name": "generator-function",
  13. "escapedName": "generator-function",
  14. "rawSpec": "^2.0.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.0.0"
  17. },
  18. "_requiredBy": [
  19. "/is-generator-function"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/generator-function/-/generator-function-2.0.1.tgz",
  22. "_shasum": "0e75dd410d1243687a0ba2e951b94eedb8f737a2",
  23. "_spec": "generator-function@^2.0.0",
  24. "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\is-generator-function",
  25. "author": {
  26. "name": "Jordan Harbamd",
  27. "email": "ljharb@gmail.com"
  28. },
  29. "auto-changelog": {
  30. "output": "CHANGELOG.md",
  31. "template": "keepachangelog",
  32. "unreleased": false,
  33. "commitLimit": false,
  34. "backfillLimit": false,
  35. "hideCredit": true
  36. },
  37. "bugs": {
  38. "url": "https://github.com/TimothyGu/generator-function/issues"
  39. },
  40. "bundleDependencies": false,
  41. "deprecated": false,
  42. "description": "A function that returns the normally hidden `GeneratorFunction` constructor",
  43. "devDependencies": {
  44. "@arethetypeswrong/cli": "^0.18.2",
  45. "@ljharb/eslint-config": "^21.2.0",
  46. "@ljharb/tsconfig": "^0.3.2",
  47. "@types/semver": "^6.2.7",
  48. "@types/tape": "^5.8.1",
  49. "auto-changelog": "^2.5.0",
  50. "encoding": "^0.1.13",
  51. "eslint": "=8.8.0",
  52. "evalmd": "^0.0.19",
  53. "generator-function": "file:.",
  54. "get-proto": "^1.0.1",
  55. "in-publish": "^2.0.1",
  56. "npmignore": "^0.3.1",
  57. "nyc": "^10.3.2",
  58. "safe-publish-latest": "^2.0.0",
  59. "semver": "^6.3.1",
  60. "tape": "^5.9.0",
  61. "typescript": "next"
  62. },
  63. "engines": {
  64. "node": ">= 0.4"
  65. },
  66. "exports": {
  67. ".": [
  68. {
  69. "module-sync": "./require.mjs",
  70. "import": "./index.mjs",
  71. "default": "./index.js"
  72. },
  73. "./index.js"
  74. ],
  75. "./package.json": "./package.json"
  76. },
  77. "homepage": "https://github.com/TimothyGu/generator-function#readme",
  78. "jsnext:main": "./index.mjs",
  79. "keywords": [
  80. "generator",
  81. "function",
  82. "native"
  83. ],
  84. "license": "MIT",
  85. "main": "./legacy.js",
  86. "module": "./index.mjs",
  87. "name": "generator-function",
  88. "publishConfig": {
  89. "ignore": [
  90. ".github/workflows"
  91. ]
  92. },
  93. "repository": {
  94. "type": "git",
  95. "url": "git+https://github.com/TimothyGu/generator-function.git"
  96. },
  97. "scripts": {
  98. "lint": "eslint --ext=js,mjs .",
  99. "postlint": "tsc && attw -P",
  100. "posttest": "npx npm@\">=10.2\" audit --production",
  101. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  102. "prelint": "evalmd README.md",
  103. "prepack": "npmignore --auto --commentLines=autogenerated",
  104. "prepublish": "not-in-publish || npm run prepublishOnly",
  105. "prepublishOnly": "safe-publish-latest",
  106. "pretest": "npm run --silent lint",
  107. "test": "npm run tests-only",
  108. "tests-only": "nyc tape 'test/**/*.js'",
  109. "version": "auto-changelog && git add CHANGELOG.md"
  110. },
  111. "sideEffects": false,
  112. "testling": {
  113. "files": "test/index.js"
  114. },
  115. "version": "2.0.1"
  116. }