Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "globalthis",
  3. "version": "1.0.4",
  4. "author": "Jordan Harband <ljharb@gmail.com>",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "ECMAScript spec-compliant polyfill/shim for `globalThis`",
  9. "license": "MIT",
  10. "main": "index.js",
  11. "browser": {
  12. "./implementation": "./implementation.browser.js"
  13. },
  14. "scripts": {
  15. "prepack": "npmignore --auto --commentLines=autogenerated",
  16. "prepublishOnly": "safe-publish-latest && npm run build",
  17. "prepublish": "not-in-publish || npm run prepublishOnly",
  18. "pretest": "npm run lint",
  19. "test": "npm run --silent tests-only",
  20. "posttest": "aud --production",
  21. "tests-only": "nyc tape 'test/**/*.js'",
  22. "lint": "eslint --ext=js,mjs .",
  23. "postlint": "es-shim-api --bound --property",
  24. "build": "mkdir -p dist && browserify browserShim.js > dist/browser.js",
  25. "version": "auto-changelog && git add CHANGELOG.md",
  26. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "git://github.com/ljharb/System.global.git"
  31. },
  32. "keywords": [
  33. "window",
  34. "self",
  35. "global",
  36. "globalThis",
  37. "System.global",
  38. "global object",
  39. "global this value",
  40. "ECMAScript",
  41. "es-shim API",
  42. "polyfill",
  43. "shim"
  44. ],
  45. "dependencies": {
  46. "define-properties": "^1.2.1",
  47. "gopd": "^1.0.1"
  48. },
  49. "devDependencies": {
  50. "@es-shims/api": "^2.5.0",
  51. "@ljharb/eslint-config": "^21.1.0",
  52. "aud": "^2.0.4",
  53. "auto-changelog": "^2.4.0",
  54. "browserify": "^16.5.2",
  55. "eslint": "=8.8.0",
  56. "for-each": "^0.3.3",
  57. "in-publish": "^2.0.1",
  58. "is": "^3.3.0",
  59. "npmignore": "^0.3.1",
  60. "nyc": "^10.3.2",
  61. "safe-publish-latest": "^2.0.0",
  62. "tape": "^5.7.5"
  63. },
  64. "testling": {
  65. "files": "test/index.js",
  66. "browsers": [
  67. "iexplore/6.0..latest",
  68. "firefox/3.0..6.0",
  69. "firefox/15.0..latest",
  70. "firefox/nightly",
  71. "chrome/4.0..10.0",
  72. "chrome/20.0..latest",
  73. "chrome/canary",
  74. "opera/10.0..latest",
  75. "opera/next",
  76. "safari/4.0..latest",
  77. "ipad/6.0..latest",
  78. "iphone/6.0..latest",
  79. "android-browser/4.2"
  80. ]
  81. },
  82. "engines": {
  83. "node": ">= 0.4"
  84. },
  85. "auto-changelog": {
  86. "output": "CHANGELOG.md",
  87. "template": "keepachangelog",
  88. "unreleased": false,
  89. "commitLimit": false,
  90. "backfillLimit": false,
  91. "hideCredit": true
  92. },
  93. "publishConfig": {
  94. "ignore": [
  95. "browserShim.js",
  96. ".github/workflows"
  97. ]
  98. }
  99. }