1
|
{
|
2
|
"name": "es-to-primitive",
|
3
|
"version": "1.2.1",
|
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": {
|
12
|
"pretest": "npm run --silent lint",
|
13
|
"test": "npm run --silent tests-only",
|
14
|
"posttest": "npx aud",
|
15
|
"tests-only": "node --es-staging test",
|
16
|
"coverage": "covert test/*.js",
|
17
|
"coverage-quiet": "covert test/*.js --quiet",
|
18
|
"lint": "eslint ."
|
19
|
},
|
20
|
"repository": {
|
21
|
"type": "git",
|
22
|
"url": "git://github.com/ljharb/es-to-primitive.git"
|
23
|
},
|
24
|
"keywords": [
|
25
|
"primitive",
|
26
|
"abstract",
|
27
|
"ecmascript",
|
28
|
"es5",
|
29
|
"es6",
|
30
|
"es2015",
|
31
|
"toPrimitive",
|
32
|
"coerce",
|
33
|
"type",
|
34
|
"object",
|
35
|
"string",
|
36
|
"number",
|
37
|
"boolean",
|
38
|
"symbol",
|
39
|
"null",
|
40
|
"undefined"
|
41
|
],
|
42
|
"dependencies": {
|
43
|
"is-callable": "^1.1.4",
|
44
|
"is-date-object": "^1.0.1",
|
45
|
"is-symbol": "^1.0.2"
|
46
|
},
|
47
|
"devDependencies": {
|
48
|
"@ljharb/eslint-config": "^15.0.0",
|
49
|
"covert": "^1.1.1",
|
50
|
"eslint": "^6.6.0",
|
51
|
"foreach": "^2.0.5",
|
52
|
"function.prototype.name": "^1.1.1",
|
53
|
"has-symbols": "^1.0.0",
|
54
|
"object-inspect": "^1.6.0",
|
55
|
"object-is": "^1.0.1",
|
56
|
"replace": "^1.1.1",
|
57
|
"semver": "^6.3.0",
|
58
|
"tape": "^4.11.0"
|
59
|
},
|
60
|
"testling": {
|
61
|
"files": "test",
|
62
|
"browsers": [
|
63
|
"iexplore/6.0..latest",
|
64
|
"firefox/3.0..6.0",
|
65
|
"firefox/15.0..latest",
|
66
|
"firefox/nightly",
|
67
|
"chrome/4.0..10.0",
|
68
|
"chrome/20.0..latest",
|
69
|
"chrome/canary",
|
70
|
"opera/10.0..latest",
|
71
|
"opera/next",
|
72
|
"safari/4.0..latest",
|
73
|
"ipad/6.0..latest",
|
74
|
"iphone/6.0..latest",
|
75
|
"android-browser/4.2"
|
76
|
]
|
77
|
},
|
78
|
"engines": {
|
79
|
"node": ">= 0.4"
|
80
|
}
|
81
|
}
|