-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.31 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.31 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
{
"name": "ts-cache-mongoose",
"version": "1.7.1",
"description": "Cache plugin for mongoose Queries and Aggregate (in-memory, redis)",
"author": "Alex Eagle",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/ilovepixelart/ts-cache-mongoose.git"
},
"bugs": {
"url": "https://github.com/ilovepixelart/ts-cache-mongoose/issues"
},
"homepage": "https://github.com/ilovepixelart/ts-cache-mongoose#readme",
"directories": {
"examples": "examples"
},
"keywords": [
"backend",
"mongo",
"mongodb",
"mongoose",
"plugin",
"schema",
"db",
"nosql",
"ts",
"typescript",
"cache",
"redis",
"store",
"memory",
"ttl",
"query",
"aggregate"
],
"engines": {
"node": ">=16"
},
"files": [
"dist",
"src",
"tests",
"tsconfig.json",
"vite.config.mts",
"biome.json"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/types/plugin.d.ts",
"default": "./dist/esm/plugin.js"
},
"require": {
"types": "./dist/cjs/types/plugin.d.ts",
"default": "./dist/cjs/plugin.js"
}
}
},
"main": "dist/cjs/plugin.js",
"module": "dist/esm/plugin.js",
"types": "dist/cjs/types/plugin.d.ts",
"scripts": {
"biome": "npx @biomejs/biome check",
"biome:fix": "npx @biomejs/biome check --write .",
"test": "vitest run --coverage",
"test:open": "vitest run --coverage && open-cli coverage/lcov-report/index.html",
"clean": "rm -rf ./dist",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p config/tsconfig.cjs.json",
"build:esm": "tsc -p config/tsconfig.esm.json && bash/esm.sh",
"release": "npm install && npm run biome && npm run build && np"
},
"dependencies": {
"ioredis": "5.4.2",
"ms": "2.1.3",
"semver": "7.7.0",
"sort-keys": "4.2.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/ms": "2.1.0",
"@types/node": "22.13.0",
"@types/semver": "7.5.8",
"@vitest/coverage-v8": "3.0.4",
"bson": "^6.10.1",
"mongodb-memory-server": "10.1.3",
"mongoose": "8.9.6",
"open-cli": "8.0.0",
"typescript": "5.7.3",
"vitest": "3.0.4"
},
"peerDependencies": {
"bson": ">=4.7.2 < 7",
"mongoose": ">=6.6.0 < 9"
}
}