88 lines
2.2 KiB
JSON
88 lines
2.2 KiB
JSON
{
|
|
"name": "define-properties",
|
|
"version": "1.2.1",
|
|
"author": "Jordan Harband <ljharb@gmail.com>",
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
},
|
|
"description": "Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
"prepublishOnly": "safe-publish-latest",
|
|
"pretest": "npm run lint",
|
|
"test": "npm run tests-only",
|
|
"posttest": "aud --production",
|
|
"tests-only": "nyc tape 'test/**/*.js'",
|
|
"lint": "eslint --ext=js,mjs .",
|
|
"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/define-properties.git"
|
|
},
|
|
"keywords": [
|
|
"Object.defineProperty",
|
|
"Object.defineProperties",
|
|
"object",
|
|
"property descriptor",
|
|
"descriptor",
|
|
"define",
|
|
"ES5"
|
|
],
|
|
"dependencies": {
|
|
"define-data-property": "^1.0.1",
|
|
"has-property-descriptors": "^1.0.0",
|
|
"object-keys": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@ljharb/eslint-config": "^21.1.0",
|
|
"aud": "^2.0.3",
|
|
"auto-changelog": "^2.4.0",
|
|
"eslint": "=8.8.0",
|
|
"in-publish": "^2.0.1",
|
|
"npmignore": "^0.3.0",
|
|
"nyc": "^10.3.2",
|
|
"safe-publish-latest": "^2.0.0",
|
|
"tape": "^5.6.6"
|
|
},
|
|
"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,
|
|
"startingVersion": "1.1.5"
|
|
},
|
|
"publishConfig": {
|
|
"ignore": [
|
|
".github/workflows",
|
|
"test/"
|
|
]
|
|
}
|
|
}
|