-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
130 lines (130 loc) · 3.48 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "ip-location-api",
"version": "2.3.3",
"description": "Fast location lookup from IP address",
"keywords": [
"location",
"lookup",
"geo",
"geoip",
"geolite",
"maxmind",
"ip",
"ipv4",
"ipv6",
"ip-location-db",
"country",
"city"
],
"scripts": {
"test": "npx jasmine",
"updatedb": "node script/updatedb.mjs",
"updatedb-browser-country": "node script/updatedb.mjs ILA_BROWSER_TYPE=country ILA_IP_LOCATION_DB=geo-whois-asn",
"updatedb-browser-geocode": "node script/updatedb.mjs ILA_BROWSER_TYPE=geocode ILA_FIELDS=latitude,longitude",
"browser": "npx http-server browser -p 8321",
"cjs": "node script/convert-to-cjs.mjs",
"ts": "npx -p typescript tsc src/main.mjs cjs/main.cjs --declaration --allowJs --emitDeclarationOnly --skipLibCheck --outDir types",
"release": "release-it"
},
"author": "sapics",
"homepage": "https://github.com/sapics/ip-location-api",
"repository": {
"type": "git",
"url": "git://github.com/sapics/ip-location-api.git"
},
"license": "Multiple licenses",
"type": "module",
"engines": {
"node": ">=14.8.0"
},
"main": "cjs/main.cjs",
"types": "types/cjs/main.d.cts",
"module": "src/main.mjs",
"exports": {
".": {
"import": {
"types": "./types/src/main.d.mts",
"default": "./src/main.mjs"
},
"require": {
"types": "./types/cjs/main.d.cts",
"default": "./cjs/main.cjs"
},
"default": {
"types": "./types/cjs/main.d.cts",
"default": "./cjs/main.cjs"
}
},
"./pack": {
"import": {
"types": "./types/src/main.d.mts",
"default": "./src/main-pack.mjs"
},
"default": {
"types": "./types/src/main.d.mts",
"default": "./src/main-pack.mjs"
}
},
"./country": {
"import": "./browser/country/lookup.mjs",
"require": "./browser/country/lookup.cjs",
"default": "./browser/country/lookup.cjs"
},
"./country-extra": {
"import": "./browser/country-extra/lookup.mjs",
"require": "./browser/country-extra/lookup.cjs",
"default": "./browser/country-extra/lookup.cjs"
},
"./geocode": {
"import": "./browser/geocode/lookup.mjs",
"require": "./browser/geocode/lookup.cjs",
"default": "./browser/geocode/lookup.cjs"
},
"./geocode-extra": {
"import": "./browser/geocode-extra/lookup.mjs",
"require": "./browser/geocode-extra/lookup.cjs",
"default": "./browser/geocode-extra/lookup.cjs"
}
},
"files": [
"src/*.mjs",
"!src/brower*.mjs",
"browser/*/*.cjs",
"browser/*/*.mjs",
"browser/*/*.js",
"cjs/*.cjs",
"spec",
"script/*.mjs",
"script/*.cjs",
"types/src/main.d.mts",
"types/cjs/main.d.cts",
"LICENSE",
"EULA",
"README.md"
],
"dependencies": {
"axios": "^1.7.7",
"countries-list": "^3.1.1",
"cron": "^3.1.7",
"dayjs": "^1.11.13",
"fast-csv": "^5.0.1",
"ip-address": "^9.0.5",
"yauzl": "^3.1.3"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"doc999tor-fast-geoip": "^1.1.253",
"eslint": "^8.57.0",
"geoip-country": "^4.0.0",
"geoip-lite": "^1.4.10",
"globals": "^15.9.0",
"http-server": "^14.1.1",
"jasmine": "^5.2.0",
"release-it": "^17.10.0",
"rollup-plugin-ignore": "^1.0.10",
"tsc": "^2.0.4"
}
}