90 lines
2.2 KiB
JSON
90 lines
2.2 KiB
JSON
|
{
|
||
|
"name": "globalthis",
|
||
|
"version": "1.0.2",
|
||
|
"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": {
|
||
|
"prepublish": "safe-publish-latest && (not-in-publish || npm run --silent build)",
|
||
|
"pretest": "npm run lint",
|
||
|
"test": "npm run --silent tests-only",
|
||
|
"posttest": "npx aud --production",
|
||
|
"tests-only": "nyc tape 'test/**/*.js'",
|
||
|
"lint": "eslint .",
|
||
|
"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.1.2",
|
||
|
"@ljharb/eslint-config": "^17.5.1",
|
||
|
"aud": "^1.1.4",
|
||
|
"auto-changelog": "^2.2.1",
|
||
|
"browserify": "^16.5.2",
|
||
|
"eslint": "^7.20.0",
|
||
|
"for-each": "^0.3.3",
|
||
|
"in-publish": "^2.0.1",
|
||
|
"is": "^3.3.0",
|
||
|
"nyc": "^10.3.2",
|
||
|
"safe-publish-latest": "^1.1.4",
|
||
|
"tape": "^5.2.0"
|
||
|
},
|
||
|
"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
|
||
|
}
|
||
|
}
|