You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
2.3 KiB
JSON
92 lines
2.3 KiB
JSON
{
|
|
"name": "hasown",
|
|
"version": "2.0.0",
|
|
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
|
|
"main": "index.js",
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"prepack": "npmignore --auto --commentLines=autogenerated && npm run emit-types",
|
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
"prepublishOnly": "safe-publish-latest",
|
|
"prelint": "evalmd README.md",
|
|
"lint": "eslint --ext=js,mjs .",
|
|
"postlint": "npm run tsc",
|
|
"preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
|
|
"emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly",
|
|
"pretest": "npm run lint",
|
|
"tsc": "tsc -p .",
|
|
"tests-only": "nyc tape 'test/**/*.js'",
|
|
"test": "npm run tests-only",
|
|
"posttest": "aud --production",
|
|
"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+https://github.com/inspect-js/hasOwn.git"
|
|
},
|
|
"keywords": [
|
|
"has",
|
|
"hasOwnProperty",
|
|
"hasOwn",
|
|
"has-own",
|
|
"own",
|
|
"has",
|
|
"property",
|
|
"in",
|
|
"javascript",
|
|
"ecmascript"
|
|
],
|
|
"author": "Jordan Harband <ljharb@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/inspect-js/hasOwn/issues"
|
|
},
|
|
"homepage": "https://github.com/inspect-js/hasOwn#readme",
|
|
"dependencies": {
|
|
"function-bind": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@ljharb/eslint-config": "^21.1.0",
|
|
"@types/function-bind": "^1.1.9",
|
|
"@types/mock-property": "^1.0.1",
|
|
"@types/tape": "^5.6.3",
|
|
"aud": "^2.0.3",
|
|
"auto-changelog": "^2.4.0",
|
|
"eslint": "=8.8.0",
|
|
"evalmd": "^0.0.19",
|
|
"in-publish": "^2.0.1",
|
|
"mock-property": "^1.0.2",
|
|
"npmignore": "^0.3.0",
|
|
"nyc": "^10.3.2",
|
|
"safe-publish-latest": "^2.0.0",
|
|
"tape": "^5.7.1",
|
|
"typescript": "^5.3.0-dev.20231019"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
},
|
|
"testling": {
|
|
"files": "test/index.js"
|
|
},
|
|
"auto-changelog": {
|
|
"output": "CHANGELOG.md",
|
|
"template": "keepachangelog",
|
|
"unreleased": false,
|
|
"commitLimit": false,
|
|
"backfillLimit": false,
|
|
"hideCredit": true
|
|
},
|
|
"publishConfig": {
|
|
"ignore": [
|
|
".github/workflows",
|
|
"test",
|
|
"!*.d.ts",
|
|
"!*.d.ts.map"
|
|
]
|
|
}
|
|
}
|