Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.89 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.89 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
{
"name": "hono-api-key",
"version": "0.1.2",
"description": "Secure, flexible API key middleware and manager for Hono.",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
"dev": "tsup --watch",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"changeset": "changeset",
"release": "pnpm build && changeset publish",
"examples:basic": "tsx examples/basic.ts",
"examples:kv": "wrangler dev --config examples/kv/wrangler.jsonc",
"examples:redis": "wrangler dev --config examples/redis/wrangler.jsonc",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"keywords": [
"hono",
"middleware",
"api-key",
"security"
],
"author": "Lafif Astahdziq <hello@lafif.me> (https://lafif.me)",
"repository": {
"type": "git",
"url": "git+https://github.com/qutek/hono-api-key.git"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@hono/node-server": "^1.13.6",
"@types/node": "^22.7.5",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@upstash/redis": "^1.35.4",
"@vitest/coverage-v8": "^3.2.4",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.5",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"hono": "^4.5.0",
"ioredis": "^5.8.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsup": "^8.2.4",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.1",
"vitest": "^3.2.4",
"wrangler": "^4.39.0"
},
"peerDependencies": {
"hono": ">=4.0.0"
}
}