forked from izadoesdev/keypal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.37 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.37 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
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": "keypal",
"version": "0.0.2",
"description": "A TypeScript library for secure API key management with cryptographic hashing, expiration, scopes, and pluggable storage",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"./memory": {
"types": "./dist/storage/memory.d.ts",
"require": "./dist/storage/memory.cjs",
"import": "./dist/storage/memory.mjs"
},
"./redis": {
"types": "./dist/storage/redis.d.ts",
"require": "./dist/storage/redis.cjs",
"import": "./dist/storage/redis.mjs"
},
"./drizzle": {
"types": "./dist/drizzle/schema.d.ts",
"require": "./dist/drizzle/schema.cjs",
"import": "./dist/drizzle/schema.mjs"
},
"./prisma": {
"types": "./dist/storage/prisma.d.ts",
"require": "./dist/storage/prisma.cjs",
"import": "./dist/storage/prisma.mjs"
},
"./kysely": {
"types": "./dist/storage/kysely.d.ts",
"require": "./dist/storage/kysely.cjs",
"import": "./dist/storage/kysely.mjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/izadoesdev/keypal.git"
},
"homepage": "https://github.com/izadoesdev/keypal#readme",
"bugs": {
"url": "https://github.com/izadoesdev/keypal/issues"
},
"license": "MIT",
"keywords": [
"api-keys",
"api-key-management",
"security",
"authentication",
"authorization",
"typescript",
"keypal",
"hashing",
"scopes",
"permissions",
"redis",
"drizzle",
"prisma",
"storage"
],
"scripts": {
"build": "unbuild",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:redis": "vitest run src/storage/redis.test.ts",
"test:drizzle": "vitest run src/storage/drizzle.test.ts",
"test:prisma": "vitest run src/storage/prisma.test.ts",
"test:kysely": "vitest run src/storage/kysely.test.ts",
"prisma:generate": "prisma generate",
"bench": "bun run benchmark.ts",
"example:hono": "bun run examples/hono-api.ts",
"studio": "bunx drizzle-kit studio",
"db:generate": "bunx drizzle-kit generate",
"db:migrate": "bunx drizzle-kit migrate",
"db:push": "bunx drizzle-kit push",
"prepare": "husky",
"prepublishOnly": "bun run build"
},
"devDependencies": {
"@biomejs/biome": "^2.3.0",
"@hono/node-server": "^1.19.5",
"@types/bun": "latest",
"@types/pg": "^8.15.5",
"@vitest/coverage-v8": "^4.0.3",
"@vitest/ui": "^4.0.3",
"better-sqlite3": "^12.4.1",
"chalk": "^5.6.2",
"hono": "^4.10.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"mitata": "^1.0.34",
"pg": "^8.16.3",
"prisma": "^6.18.0",
"ultracite": "^6.0.1",
"unbuild": "^3.6.1",
"undici": "^7.16.0",
"vitest": "^4.0.3"
},
"peerDependencies": {
"typescript": "^5"
},
"optionalDependencies": {
"ioredis": "^5.8.2",
"drizzle-orm": "^0.44.6",
"drizzle-kit": "^0.31.0",
"@prisma/client": "^6.18.0",
"kysely": "^0.28.8"
},
"dependencies": {
"convex": "^1.28.0",
"nanoid": "^5.1.6",
"typebox": "^1.0.43"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}": [
"bun x ultracite fix"
]
}
}