Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.24 KB
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
{
"name": "ipgeolocation-vercel-middleware",
"version": "2.0.0",
"description": "Official IPGeolocation.io middleware for Next.js on Vercel. Country blocking, country redirects, and VPN, proxy, Tor, bot and threat score detection at the edge.",
"keywords": [
"ipgeolocation",
"vercel",
"nextjs",
"next-middleware",
"edge",
"edge-runtime",
"geolocation",
"geo-blocking",
"geoip",
"country-redirect",
"vpn-detection",
"proxy-detection",
"bot-detection",
"threat-score",
"security"
],
"homepage": "https://github.com/ipgeolocation/vercel-middleware#readme",
"bugs": {
"url": "https://github.com/ipgeolocation/vercel-middleware/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ipgeolocation/vercel-middleware.git"
},
"license": "MIT",
"author": "IPGeolocation.io <support@ipgeolocation.io> (https://ipgeolocation.io)",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./middleware": {
"types": "./dist/middleware.d.ts",
"import": "./dist/middleware.js",
"require": "./dist/middleware.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
},
"peerDependencies": {
"next": ">=13.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@vitest/coverage-v8": "^4.1.11",
"next": "^15.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"vitest": "^4.1.11"
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"overrides": {
"vite": "^6.4.3",
"postcss": "^8.5.28",
"tsup": {
"esbuild": "^0.28.2"
},
"next": {
"postcss": "^8.5.28",
"sharp": "^0.35.5"
}
}
}