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