forked from Asjas/prisma-redis-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.48 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
{
"name": "prisma-redis-middleware",
"author": "A-J Roos <[email protected]>",
"version": "4.8.0",
"description": "Prisma Middleware for caching results of queries in Redis",
"license": "Hippocratic-3.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"source": "./src/index.ts",
"module": "./dist/prisma-redis-middleware.esm.js",
"files": [
"dist",
"src"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"clean": "rimraf dist/ coverage/",
"prepare": "tsdx build",
"test": "vitest run",
"test:watch": "vitest -w",
"coverage": "c8 --reporter=lcov vitest run --coverage",
"check-types": "tsc",
"prettier": "prettier --cache \"**/**/*.+(json|ts)\"",
"format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"validate": "npm-run-all --parallel check-types check-format build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"dependencies": {
"async-cache-dedupe": "1.12.0",
"ioredis": "5.3.2"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "4.1.0",
"@prisma/client": "5.2.0",
"@size-limit/preset-small-lib": "8.2.6",
"@types/ioredis-mock": "8.2.2",
"@vitest/coverage-c8": "0.33.0",
"@vitest/coverage-v8": "0.34.3",
"c8": "8.0.1",
"husky": "8.0.3",
"ioredis-mock": "8.8.3",
"lint-staged": "14.0.1",
"npm-run-all": "4.1.5",
"prettier": "3.0.2",
"rimraf": "5.0.1",
"size-limit": "8.2.6",
"tsdx": "0.14.1",
"tslib": "2.6.2",
"typescript": "5.1.6",
"vitest": "0.34.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run check-types && lint-staged && npm run build"
}
},
"lint-staged": {
"**/**/*.+(ts)": [
"prettier --write",
"git add"
]
},
"size-limit": [
{
"path": "dist/prisma-redis-middleware.cjs.production.min.js",
"limit": "16 KB"
},
{
"path": "dist/prisma-redis-middleware.esm.js",
"limit": "16 KB"
}
],
"engines": {
"node": "^16.x || ^18.x || ^20.x",
"npm": "^7.x || ^8.x || ^9.x"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Asjas/prisma-redis-middleware.git"
},
"keywords": [
"prisma",
"redis",
"prisma-caching",
"redis-caching",
"prisma-middleware",
"caching"
],
"bugs": {
"url": "https://github.com/Asjas/prisma-redis-middleware/issues"
},
"homepage": "https://github.com/Asjas/prisma-redis-middleware#readme"
}