[d565449] | 1 | {
|
---|
| 2 | "name": "es-to-primitive",
|
---|
[0c6b92a] | 3 | "version": "1.3.0",
|
---|
[d565449] | 4 | "author": "Jordan Harband <ljharb@gmail.com>",
|
---|
| 5 | "funding": {
|
---|
| 6 | "url": "https://github.com/sponsors/ljharb"
|
---|
| 7 | },
|
---|
| 8 | "description": "ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.",
|
---|
| 9 | "license": "MIT",
|
---|
| 10 | "main": "index.js",
|
---|
| 11 | "scripts": {
|
---|
[0c6b92a] | 12 | "prepack": "npmignore --auto --commentLines=autogenerated",
|
---|
| 13 | "prepublish": "not-in-publish || npm run prepublishOnly",
|
---|
| 14 | "prepublishOnly": "safe-publish-latest",
|
---|
| 15 | "pretest": "npm run lint",
|
---|
| 16 | "test": "npm run tests-only",
|
---|
| 17 | "posttest": "npx npm@'>=10.2' audit --production",
|
---|
| 18 | "tests-only": "nyc tape 'test/**/*.js'",
|
---|
| 19 | "lint": "eslint --ext=js,mjs .",
|
---|
| 20 | "postlint": "tsc && attw -P",
|
---|
| 21 | "version": "auto-changelog && git add CHANGELOG.md",
|
---|
| 22 | "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
---|
[d565449] | 23 | },
|
---|
| 24 | "repository": {
|
---|
| 25 | "type": "git",
|
---|
| 26 | "url": "git://github.com/ljharb/es-to-primitive.git"
|
---|
| 27 | },
|
---|
| 28 | "keywords": [
|
---|
| 29 | "primitive",
|
---|
| 30 | "abstract",
|
---|
| 31 | "ecmascript",
|
---|
| 32 | "es5",
|
---|
| 33 | "es6",
|
---|
| 34 | "es2015",
|
---|
| 35 | "toPrimitive",
|
---|
| 36 | "coerce",
|
---|
| 37 | "type",
|
---|
| 38 | "object",
|
---|
| 39 | "string",
|
---|
| 40 | "number",
|
---|
| 41 | "boolean",
|
---|
| 42 | "symbol",
|
---|
| 43 | "null",
|
---|
| 44 | "undefined"
|
---|
| 45 | ],
|
---|
| 46 | "dependencies": {
|
---|
[0c6b92a] | 47 | "is-callable": "^1.2.7",
|
---|
| 48 | "is-date-object": "^1.0.5",
|
---|
| 49 | "is-symbol": "^1.0.4"
|
---|
[d565449] | 50 | },
|
---|
| 51 | "devDependencies": {
|
---|
[0c6b92a] | 52 | "@arethetypeswrong/cli": "^0.17.0",
|
---|
| 53 | "@ljharb/eslint-config": "^21.1.1",
|
---|
| 54 | "@ljharb/tsconfig": "^0.2.0",
|
---|
| 55 | "@types/for-each": "^0.3.3",
|
---|
| 56 | "@types/function.prototype.name": "^1.1.3",
|
---|
| 57 | "@types/is-callable": "^1.1.2",
|
---|
| 58 | "@types/is-date-object": "^1.0.4",
|
---|
| 59 | "@types/is-symbol": "^1.0.2",
|
---|
| 60 | "@types/object-inspect": "^1.13.0",
|
---|
| 61 | "@types/object-is": "^1.1.0",
|
---|
| 62 | "@types/tape": "^5.6.4",
|
---|
| 63 | "auto-changelog": "^2.5.0",
|
---|
| 64 | "encoding": "^0.1.13",
|
---|
| 65 | "es-value-fixtures": "^1.5.0",
|
---|
| 66 | "eslint": "=8.8.0",
|
---|
| 67 | "for-each": "^0.3.3",
|
---|
| 68 | "function.prototype.name": "^1.1.6",
|
---|
| 69 | "npmignore": "^0.3.1",
|
---|
| 70 | "nyc": "^10.3.2",
|
---|
| 71 | "object-inspect": "^1.13.3",
|
---|
| 72 | "object-is": "^1.1.6",
|
---|
| 73 | "safe-publish-latest": "^2.0.0",
|
---|
| 74 | "tape": "^5.9.0",
|
---|
| 75 | "typescript": "next"
|
---|
[d565449] | 76 | },
|
---|
| 77 | "testling": {
|
---|
[0c6b92a] | 78 | "files": "test/index.js"
|
---|
[d565449] | 79 | },
|
---|
| 80 | "engines": {
|
---|
| 81 | "node": ">= 0.4"
|
---|
[0c6b92a] | 82 | },
|
---|
| 83 | "auto-changelog": {
|
---|
| 84 | "output": "CHANGELOG.md",
|
---|
| 85 | "template": "keepachangelog",
|
---|
| 86 | "unreleased": false,
|
---|
| 87 | "commitLimit": false,
|
---|
| 88 | "backfillLimit": false,
|
---|
| 89 | "hideCredit": true,
|
---|
| 90 | "startingVersion": "1.2.2"
|
---|
| 91 | },
|
---|
| 92 | "publishConfig": {
|
---|
| 93 | "ignore": [
|
---|
| 94 | ".github/workflows"
|
---|
| 95 | ]
|
---|
[d565449] | 96 | }
|
---|
| 97 | }
|
---|