generated from chakhsu/tsm-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.04 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
{
"name": "cache-proxy-plus",
"version": "v1.3.0",
"description": "A method proxy library that makes it easy to implement local and remote cache with built-in usage statistics.",
"author": "Chakhsu.Lau",
"license": "MIT",
"keywords": [
"cache",
"proxy",
"plus",
"typescript",
"esm",
"localCache",
"remoteCache",
"redis",
"statistics",
"event",
"stats"
],
"repository": {
"type": "git",
"url": "https://github.com/chakhsu/cache-proxy-plus"
},
"homepage": "https://github.com/chakhsu/cache-proxy-plus",
"bugs": {
"url": "https://github.com/chakhsu/cache-proxy-plus/issues"
},
"type": "module",
"exports": "./lib/index.js",
"types": "./lib/types/index.d.ts",
"engines": {
"node": ">=16"
},
"files": [
"lib",
"doc",
"README_CN.md"
],
"scripts": {
"clear": "rimraf lib && rimraf coverage",
"patch:esm-js": "tsc-esm-fix --tsconfig=tsconfig.json",
"build:esm": "tsc -P tsconfig.json && pnpm patch:esm-js",
"build": "pnpm clear && pnpm build:esm",
"lint:prettier": "prettier --cache --check --ignore-path .gitignore --ignore-path .prettierignore .",
"prettier": "pnpm lint:prettier --write",
"prepare": "husky install",
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm exec jest"
},
"lint-staged": {
"*.{ts,js,md,json,yaml}": "prettier --write"
},
"dependencies": {
"debug": "^4.3.4",
"joi": "^17.12.2",
"lodash-es": "^4.17.21",
"lru-cache": "^10.2.0",
"p-queue": "^8.0.1",
"p-timeout": "^6.1.2",
"sync-defer": "^1.3.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.42",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.30",
"bluebird": "^3.7.2",
"husky": "^9.0.11",
"ioredis": "^5.3.2",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsc-esm-fix": "^2.20.26",
"typescript": "^5.4.2"
}
}