{ "name": "es-to-primitive", "version": "1.3.1", "author": "Jordan Harband ", "funding": { "url": "https://github.com/sponsors/ljharb" }, "description": "ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.", "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": "npx npm@'>=10.2' audit --production", "tests-only": "nyc tape 'test/**/*.js'", "lint": "eslint .", "postlint": "tsc && attw -P", "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/es-to-primitive.git" }, "keywords": [ "primitive", "abstract", "ecmascript", "es5", "es6", "es2015", "toPrimitive", "coerce", "type", "object", "string", "number", "boolean", "symbol", "null", "undefined" ], "dependencies": { "es-abstract-get": "^1.0.0", "es-errors": "^1.3.0", "is-callable": "^1.2.7", "is-date-object": "^1.1.0", "is-symbol": "^1.1.1" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.3", "@ljharb/eslint-config": "^22.2.3", "@ljharb/tsconfig": "^0.3.2", "@types/is-callable": "^1.1.2", "@types/node": "^25.9.3", "@types/object-inspect": "^1.13.0", "@types/object-is": "^1.1.0", "auto-changelog": "^2.6.0", "es-value-fixtures": "^1.7.1", "eslint": "^10.5.0", "for-each": "^0.3.5", "function.prototype.name": "^1.2.0", "jiti": "^0.0.0", "npmignore": "^0.3.5", "nyc": "^10.3.2", "object-inspect": "^1.13.4", "object-is": "^1.1.6", "safe-publish-latest": "^2.0.0", "tape": "^5.10.1", "typescript": "next" }, "testling": { "files": "test/index.js" }, "engines": { "node": ">= 0.4" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true, "startingVersion": "1.2.2" }, "publishConfig": { "ignore": [ ".github/workflows" ] } }