package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "_from": "globalthis@^1.0.4",
  3. "_id": "globalthis@1.0.4",
  4. "_inBundle": false,
  5. "_integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
  6. "_location": "/globalthis",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "globalthis@^1.0.4",
  12. "name": "globalthis",
  13. "escapedName": "globalthis",
  14. "rawSpec": "^1.0.4",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.0.4"
  17. },
  18. "_requiredBy": [
  19. "/es-abstract"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.4.tgz",
  22. "_shasum": "7430ed3a975d97bfb59bcce41f5cabbafa651236",
  23. "_spec": "globalthis@^1.0.4",
  24. "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\es-abstract",
  25. "author": {
  26. "name": "Jordan Harband",
  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. "browser": {
  38. "./implementation": "./implementation.browser.js"
  39. },
  40. "bugs": {
  41. "url": "https://github.com/ljharb/System.global/issues"
  42. },
  43. "bundleDependencies": false,
  44. "dependencies": {
  45. "define-properties": "^1.2.1",
  46. "gopd": "^1.0.1"
  47. },
  48. "deprecated": false,
  49. "description": "ECMAScript spec-compliant polyfill/shim for `globalThis`",
  50. "devDependencies": {
  51. "@es-shims/api": "^2.5.0",
  52. "@ljharb/eslint-config": "^21.1.0",
  53. "aud": "^2.0.4",
  54. "auto-changelog": "^2.4.0",
  55. "browserify": "^16.5.2",
  56. "eslint": "=8.8.0",
  57. "for-each": "^0.3.3",
  58. "in-publish": "^2.0.1",
  59. "is": "^3.3.0",
  60. "npmignore": "^0.3.1",
  61. "nyc": "^10.3.2",
  62. "safe-publish-latest": "^2.0.0",
  63. "tape": "^5.7.5"
  64. },
  65. "engines": {
  66. "node": ">= 0.4"
  67. },
  68. "funding": {
  69. "url": "https://github.com/sponsors/ljharb"
  70. },
  71. "homepage": "https://github.com/ljharb/System.global#readme",
  72. "keywords": [
  73. "window",
  74. "self",
  75. "global",
  76. "globalThis",
  77. "System.global",
  78. "global object",
  79. "global this value",
  80. "ECMAScript",
  81. "es-shim API",
  82. "polyfill",
  83. "shim"
  84. ],
  85. "license": "MIT",
  86. "main": "index.js",
  87. "name": "globalthis",
  88. "publishConfig": {
  89. "ignore": [
  90. "browserShim.js",
  91. ".github/workflows"
  92. ]
  93. },
  94. "repository": {
  95. "type": "git",
  96. "url": "git://github.com/ljharb/System.global.git"
  97. },
  98. "scripts": {
  99. "build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
  100. "lint": "eslint --ext=js,mjs .",
  101. "postlint": "es-shim-api --bound --property",
  102. "posttest": "aud --production",
  103. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  104. "prepack": "npmignore --auto --commentLines=autogenerated",
  105. "prepublish": "not-in-publish || npm run prepublishOnly",
  106. "prepublishOnly": "safe-publish-latest && npm run build",
  107. "pretest": "npm run lint",
  108. "test": "npm run --silent tests-only",
  109. "tests-only": "nyc tape 'test/**/*.js'",
  110. "version": "auto-changelog && git add CHANGELOG.md"
  111. },
  112. "testling": {
  113. "files": "test/index.js",
  114. "browsers": [
  115. "iexplore/6.0..latest",
  116. "firefox/3.0..6.0",
  117. "firefox/15.0..latest",
  118. "firefox/nightly",
  119. "chrome/4.0..10.0",
  120. "chrome/20.0..latest",
  121. "chrome/canary",
  122. "opera/10.0..latest",
  123. "opera/next",
  124. "safari/4.0..latest",
  125. "ipad/6.0..latest",
  126. "iphone/6.0..latest",
  127. "android-browser/4.2"
  128. ]
  129. },
  130. "version": "1.0.4"
  131. }