-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 4.4 KB
/
Copy pathpackage.json
File metadata and controls
151 lines (151 loc) · 4.4 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "@bymax-one/nest-cache",
"version": "1.1.0",
"description": "Typed Redis cache for NestJS based on ioredis 6, with namespace strategy, Pub/Sub and Lua script management.",
"author": "Bymax One <support@bymax.one>",
"license": "MIT",
"homepage": "https://github.com/bymaxone/nest-cache#readme",
"repository": {
"type": "git",
"url": "https://github.com/bymaxone/nest-cache.git"
},
"bugs": {
"url": "https://github.com/bymaxone/nest-cache/issues"
},
"type": "module",
"sideEffects": false,
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"exports": {
".": {
"import": {
"types": "./dist/server/index.d.ts",
"default": "./dist/server/index.mjs"
},
"require": {
"types": "./dist/server/index.d.cts",
"default": "./dist/server/index.cjs"
}
},
"./shared": {
"import": {
"types": "./dist/shared/index.d.ts",
"default": "./dist/shared/index.mjs"
},
"require": {
"types": "./dist/shared/index.d.cts",
"default": "./dist/shared/index.cjs"
}
},
"./package.json": "./package.json"
},
"main": "./dist/server/index.cjs",
"module": "./dist/server/index.mjs",
"types": "./dist/server/index.d.cts",
"typesVersions": {
"*": {
"shared": [
"./dist/shared/index.d.cts"
]
}
},
"scripts": {
"build": "pnpm clean && tsup",
"check:exports": "attw --pack .",
"check:mutants": "node scripts/check-mutation-directives.mjs",
"check:published": "node scripts/check-published-surface.mjs",
"clean": "rm -rf dist coverage",
"lint": "eslint src scripts",
"lint:fix": "eslint src scripts --fix",
"mutation": "stryker run",
"mutation:full": "node -e \"require('node:fs').rmSync('reports/stryker-incremental.json',{force:true,recursive:true})\" && stryker run",
"mutation:dry-run": "stryker run --dryRunOnly",
"prepare": "husky",
"prepublishOnly": "pnpm clean && pnpm typecheck && pnpm test:types && pnpm lint && pnpm check:mutants && pnpm test:cov:all && pnpm build && pnpm check:published",
"release": "npm publish --provenance --access public",
"size": "node scripts/check-size.mjs",
"test": "jest",
"test:all": "pnpm test && pnpm test:e2e",
"test:cov": "jest --coverage",
"test:cov:all": "jest --config jest.coverage.config.ts --coverage",
"test:e2e": "jest --config jest.e2e.config.ts --runInBand",
"test:types": "tsc --noEmit -p tsconfig.typetest.json",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.server.json"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"dependencies": {},
"peerDependencies": {
"@nestjs/common": "^11.0.16",
"@nestjs/core": "^11.1.18",
"ioredis": "^6.0.0",
"reflect-metadata": "^0.2.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@commitlint/cli": "^21.2.1",
"@commitlint/config-conventional": "^21.2.0",
"@eslint/js": "^9.39.4",
"@nestjs/common": "^11.1.20",
"@nestjs/core": "^11.1.20",
"@nestjs/testing": "^11.1.20",
"@stryker-mutator/core": "^9",
"@stryker-mutator/jest-runner": "^9",
"@stryker-mutator/typescript-checker": "^9",
"@types/jest": "^30.0.0",
"@types/node": "^24",
"@typescript-eslint/eslint-plugin": "^8.59.3",
"@typescript-eslint/parser": "^8.59.3",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-security": "^4.0.0",
"globals": "^17.6.0",
"husky": "^9.1.7",
"ioredis": "^6.0.0",
"ioredis-mock": "^8.13.1",
"jest": "^30.4.2",
"lint-staged": "^17.2.0",
"prettier": "^3.8.3",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.0",
"testcontainers": "^12.0.1",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"keywords": [
"cache",
"redis",
"ioredis",
"nestjs",
"typescript",
"sentinel",
"cluster",
"pubsub",
"lua"
],
"packageManager": "pnpm@11.20.0",
"engines": {
"node": ">=24.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}