-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 3.55 KB
/
package.json
File metadata and controls
132 lines (132 loc) · 3.55 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
126
127
128
129
130
131
132
{
"name": "keypal",
"version": "0.2.0",
"description": "A TypeScript library for secure API key management with cryptographic hashing, expiration, scopes, and pluggable storage",
"type": "module",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./memory": {
"types": "./dist/storage/memory.d.ts",
"import": "./dist/storage/memory.mjs"
},
"./redis": {
"types": "./dist/storage/redis.d.ts",
"import": "./dist/storage/redis.mjs"
},
"./drizzle": {
"types": "./dist/storage/drizzle.d.ts",
"import": "./dist/storage/drizzle.mjs"
},
"./prisma": {
"types": "./dist/storage/prisma.d.ts",
"import": "./dist/storage/prisma.mjs"
},
"./kysely": {
"types": "./dist/storage/kysely.d.ts",
"import": "./dist/storage/kysely.mjs"
},
"./drizzle/schema": {
"types": "./dist/drizzle/schema.d.ts",
"import": "./dist/drizzle/schema.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",
"files": [
"dist",
"README.md",
"LICENSE"
],
"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",
"bench:core": "bun run benchmark-core.ts",
"bench:storage": "bun run benchmark-storage.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",
"prepublishOnly": "bun run build",
"version:patch": "npm version patch --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version",
"version:major": "npm version major --no-git-tag-version"
},
"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",
"lefthook": "^2.1.6",
"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",
"convex": "^1.28.0"
},
"dependencies": {
"nanoid": "^5.1.6",
"typebox": "^1.0.43"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}": [
"bun x ultracite fix"
]
}
}