-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 2.83 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
{
"name": "@stouder-io/adonis-geolite2",
"description": "Maxmind's GeoLite2 integration for Adonis",
"version": "2.1.2",
"engines": {
"node": ">=20.6.0"
},
"type": "module",
"files": [
"build"
],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js",
"./geolite2_provider": "./build/providers/geolite2_provider.js"
},
"scripts": {
"clean": "del-cli build",
"copy:templates": "copyfiles --up 1 \"stubs/**/*.stub\" build",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext=.ts",
"format": "prettier --write .",
"quick:test": "node --import=./tsnode.esm.js --enable-source-maps bin/test.ts",
"pretest": "pnpm run lint",
"test": "c8 pnpm run quick:test",
"prebuild": "pnpm run lint && pnpm run clean",
"build": "tsup",
"postbuild": "pnpm run copy:templates",
"version": "pnpm run build",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"adonisjs",
"adonis",
"geolite2",
"maxmind",
"geolocation",
"ip",
"ip2location",
"ip2geo",
"ip2country",
"ip2city",
"ip2region",
"ip2isp",
"ip2asn"
],
"author": "Xavier Stouder <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/StouderIO/adonis-geolite2.git"
},
"bugs": {
"url": "https://github.com/StouderIO/adonis-geolite2/issues"
},
"devDependencies": {
"@adonisjs/assembler": "^7.2.3",
"@adonisjs/core": "^6.3.1",
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.3.0",
"@adonisjs/tsconfig": "^1.3.0",
"@japa/assert": "^2.1.0",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.1",
"@swc/core": "^1.4.6",
"@types/node": "^20.11.25",
"c8": "^9.1.0",
"copyfiles": "^2.4.1",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"np": "^10.0.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "5.3.3"
},
"peerDependencies": {
"@adonisjs/core": "^6.2.0"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**",
"stubs/**"
]
},
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"dependencies": {
"@poppinss/utils": "^6.7.3",
"geolite2-redist": "^3.0.4",
"maxmind": "^4.3.19"
},
"tsup": {
"entry": [
"./index.ts",
"./providers/geolite2_provider.ts",
"./src/types.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": true,
"sourcemap": true,
"target": "esnext"
},
"volta": {
"node": "22.1.0"
}
}