You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.6 KiB
103 lines
2.6 KiB
2 months ago
|
{
|
||
|
"name": "set-function-length",
|
||
|
"version": "1.2.2",
|
||
|
"description": "Set a function's length property",
|
||
|
"main": "index.js",
|
||
|
"exports": {
|
||
|
".": "./index.js",
|
||
|
"./env": "./env.js",
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"sideEffects": false,
|
||
|
"directories": {
|
||
|
"test": "test"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
||
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
||
|
"prepublishOnly": "safe-publish-latest",
|
||
|
"tsc": "tsc -p .",
|
||
|
"posttsc": "attw -P",
|
||
|
"prelint": "evalmd README.md",
|
||
|
"lint": "eslint --ext=js,mjs .",
|
||
|
"postlint": "npm run tsc",
|
||
|
"pretest": "npm run lint",
|
||
|
"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/ljharb/set-function-length.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"javascript",
|
||
|
"ecmascript",
|
||
|
"set",
|
||
|
"function",
|
||
|
"length",
|
||
|
"function.length"
|
||
|
],
|
||
|
"author": "Jordan Harband <ljharb@gmail.com>",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/ljharb/set-function-length/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/ljharb/set-function-length#readme",
|
||
|
"dependencies": {
|
||
|
"define-data-property": "^1.1.4",
|
||
|
"es-errors": "^1.3.0",
|
||
|
"function-bind": "^1.1.2",
|
||
|
"get-intrinsic": "^1.2.4",
|
||
|
"gopd": "^1.0.1",
|
||
|
"has-property-descriptors": "^1.0.2"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@arethetypeswrong/cli": "^0.15.1",
|
||
|
"@ljharb/eslint-config": "^21.1.0",
|
||
|
"@ljharb/tsconfig": "^0.1.1",
|
||
|
"@types/call-bind": "^1.0.5",
|
||
|
"@types/define-properties": "^1.1.5",
|
||
|
"@types/es-value-fixtures": "^1.4.4",
|
||
|
"@types/for-each": "^0.3.3",
|
||
|
"@types/function-bind": "^1.1.10",
|
||
|
"@types/gopd": "^1.0.3",
|
||
|
"@types/has-property-descriptors": "^1.0.3",
|
||
|
"@types/object-inspect": "^1.8.4",
|
||
|
"@types/tape": "^5.6.4",
|
||
|
"aud": "^2.0.4",
|
||
|
"auto-changelog": "^2.4.0",
|
||
|
"call-bind": "^1.0.7",
|
||
|
"es-value-fixtures": "^1.4.2",
|
||
|
"eslint": "=8.8.0",
|
||
|
"evalmd": "^0.0.19",
|
||
|
"for-each": "^0.3.3",
|
||
|
"in-publish": "^2.0.1",
|
||
|
"npmignore": "^0.3.1",
|
||
|
"nyc": "^10.3.2",
|
||
|
"object-inspect": "^1.13.1",
|
||
|
"safe-publish-latest": "^2.0.0",
|
||
|
"tape": "^5.7.5",
|
||
|
"typescript": "next"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 0.4"
|
||
|
},
|
||
|
"auto-changelog": {
|
||
|
"output": "CHANGELOG.md",
|
||
|
"template": "keepachangelog",
|
||
|
"unreleased": false,
|
||
|
"commitLimit": false,
|
||
|
"backfillLimit": false,
|
||
|
"hideCredit": true
|
||
|
},
|
||
|
"publishConfig": {
|
||
|
"ignore": [
|
||
|
".github/workflows",
|
||
|
"test"
|
||
|
]
|
||
|
}
|
||
|
}
|