forked from sindresorhus/is-online
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 1.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@esm2cjs/is-online",
"version": "10.0.0",
"description": "Check if the internet connection is up. This is a fork of sindresorhus/is-online, but with CommonJS support.",
"license": "MIT",
"repository": "esm2cjs/is-online",
"funding": "https://github.com/sponsors/AlCalzone",
"author": {
"name": "Dominic Griesel",
"email": "[email protected]"
},
"contributors": [
"silverwind <[email protected]> (github.com/silverwind)"
],
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=14.16"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"cjs/",
"esm/"
],
"keywords": [
"browser",
"online",
"offline",
"is-online",
"network",
"connected",
"connectivity",
"internet",
"is",
"has",
"detect",
"hostname",
"hostnames",
"dns",
"socket",
"reachable",
"reachability",
"accessible",
"no",
"disconnected"
],
"dependencies": {
"@esm2cjs/got": "^12.1.0",
"@esm2cjs/p-any": "^4.0.0",
"@esm2cjs/p-timeout": "^5.1.0",
"@esm2cjs/public-ip": "^5.0.0"
},
"devDependencies": {
"ava": "^4.3.0",
"tsd": "^0.20.0",
"xo": "^0.49.0"
},
"ava": {
"files": [
"test.mjs"
]
},
"publishConfig": {
"access": "public"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"typesVersions": {
"*": {
"esm/index.d.ts": [
"esm/index.d.ts"
],
"cjs/index.d.ts": [
"esm/index.d.ts"
],
"*": [
"esm/*"
]
}
},
"xo": {
"ignores": [
"cjs",
"test.mjs",
"**/*.test-d.ts",
"**/*.d.ts"
]
}
}